Jeong, YunWon
6a3dff63bb
Downcastable ( #5986 )
...
* simplify int power
* downcastasble
* deprecate payload*
2025-07-16 18:00:18 +09:00
Jeong YunWon
406be9cd15
Upgrade radium to 1.1.1
2025-07-14 20:40:54 +09:00
Jeong, YunWon
fe2c9bf361
Fix stable clippy ( #5843 )
2025-06-27 12:12:21 +09:00
Shahar Naveh
ab09de8542
Remove unnecessary string conversions in error message construction ( #5826 )
...
* Make `new_X_error` recv `impl Into<String>`
* Maks the rest of the methods to be generic
* Remove `.to_owned()` from more files
2025-06-25 01:43:41 +09:00
dependabot[bot]
4e094eaa55
Bump webpack-dev-server from 5.2.0 to 5.2.1 in /wasm/demo ( #5801 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v5.2.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-version: 5.2.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-06 23:17:32 +09:00
Noa
e27d03179f
Remove getrandom 0.2 from dependencies
2025-05-21 12:12:14 +09:00
Rex Ledesma
4e2e0b41c6
chore: add ruff format --check ( #5774 )
...
* chore: add `ruff format --check`
* fix tests
2025-05-12 14:20:01 +09:00
dependabot[bot]
b72f3a4928
Bump http-proxy-middleware from 2.0.7 to 2.0.9 in /wasm/demo ( #5708 )
...
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware ) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases )
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md )
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.9 )
---
updated-dependencies:
- dependency-name: http-proxy-middleware
dependency-version: 2.0.9
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 20:23:32 +09:00
Ashwin Naren
b81ae9b954
More cspell fixes ( #5670 )
2025-04-11 09:37:20 +09:00
Noa
98137eb79c
Switch to const-initialized thread_local variables where appropriate
2025-04-05 19:59:43 +09:00
Jeong YunWon
d7113e11db
Fix more cspell warnings
2025-04-04 21:45:03 +09:00
Jeong YunWon
27bcba3027
wasm test prints more info
2025-03-27 01:28:36 +09:00
Jeong YunWon
053583f5a0
Add wasm/demo/.envrc
2025-03-27 01:28:36 +09:00
Jeong YunWon
2d4eec88d3
better webdriver error printing
2025-03-27 01:28:34 +09:00
Noa
950a8d5694
Update to ruff_python_parser 0.11
2025-03-19 22:45:57 -05:00
a6b4ef7f5d
Replace Python parser with ruff parser ( #5494 )
...
* stage1
* compiler pass build
* introduce rustpython-compiler-source
* stage2
* fixup
* pass compile
* Fix hello world compiler test
* Fix code generation for if-elif-else statement
* Fix code generation for lambda expression
* Fix code generation for integers
* Fix code generation for fstrings
* Fix code generation for if statement
* Fix code generation for if statement
* Fix code generation for if statement
* Fix code generation for fstring
* Fix code generation for class definition
* Replace feature flags
* Initialize frozen core modules
* Allow __future__ import after module doc comment
* Disable ast module
* Commit remaining fixes for compile errors in examples
* Fix some warnings
* Update ast stdlib module
* Update ast stdlib module
* Update ast stdlib module
* Update ast stdlib module
* Update ast stdlib module
* Split ast stdlib module into files
* Fix codegen for positional arguments with defaults
* Update ast stdlib module
* Update ast stdlib module
* Extract string and constant handling from expression.rs
* Always add required fields to AST nodes
* Compile doc strings correctly again
* Enable "ast" Cargo feature by default
* Refactor compilation of big integer literal
* Update ast stdlib module
* Update ast stdlib module
* Update ast stdlib module
* Reset barebones example
* Fix some left-over warnings
* Undo accidential change
* Adapt shell to ruff parser
* Pin parser to v0.4.10
* fix clippy
* Add TODO about interactive mode
* Fix compilation of complex number expression
* Remove moved code
* Update test case to ruff v0.4.10
* Apply suggestion
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com >
* Apply suggestion
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com >
* Fix compilation of fstring expression
* Fix compilation of fstring expression
* Fix wasm compile errors
* Attach correct source locations to ast objects
* Fix some more wasm compile errors
* Consider compile mode and enable AST stdlib module again
* Fix incorrect AST source location end column
* Fix compile error if "compiler" feature is not enabled
* Fix regrtests
* Fix some test_ast tests
* Add source range to type ignore
* Fix incompatibility with Rust 2024 edition
* Fix todos by implementing missing ast conversions and deleting unused code
* Appease clippy
* Fix remaining ast tests
* Fix remaining ast tests
* Mark/fix remaining tests
* Fix more
* Hacky windows fix
---------
Co-authored-by: Kangzhi Shi <shikangzhi@gmail.com >
Co-authored-by: Jeong YunWon <jeong@youknowone.org >
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com >
Co-authored-by: Noa <coolreader18@gmail.com >
2025-03-19 21:06:03 -05:00
Noa
cc0a1ce9e2
Update webpack ( #5585 )
...
* Update webpack
* Build demo before notebook
* Use with instead of env for actions-gh-pages
2025-03-05 16:15:14 -06:00
Ashwin Naren
56196890f5
Actions caching for nodejs ( #5575 )
...
* caching for nodejs and various CI dependency updates
* commit the package-lock.json
2025-03-02 18:18:17 +09:00
Noa
6daee1b00e
Warn on elided_lifetimes_in_paths
2025-03-01 13:49:33 +09:00
Ashwin Naren
b870b0e1b5
2024 edition formatting
...
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
2025-02-26 11:48:22 -08:00
Noa
864e8598f8
Enable rust2024-incompatible pat and keyword-ident lints
2025-02-25 00:32:02 -06:00
Noa
fa2acd7cde
Update rand to 0.9
2025-02-18 17:07:26 +09:00
Noa
c901bc07a4
Upgrade wasm deps + fix demo
2025-01-11 18:48:27 +09:00
Noa
b7db23bbae
Fix warnings for Rust 1.84
2025-01-11 18:48:27 +09:00
Noa
9647ebe206
Fix prettier formatting
2024-11-27 13:20:19 -06:00
Myeongseon Choi
7ae9432524
Change deprecated type PanicInfo to PanicHookInfo
2024-10-31 01:45:59 +09:00
Noa
37dc28a69d
Update deps ( #5417 )
...
* Upgrade nix
* Update deps
* Upgrade pyo3, winreg
* Fix errors from upgrading
2024-09-27 13:11:00 +09:00
dependabot[bot]
8bc5944178
Bump webpack from 4.28.2 to 5.94.0 in /wasm/example
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.28.2 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.28.2...v5.94.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-28 14:14:51 +09:00
Jeong YunWon
fe63ca762f
separate wasm-unknown-test
2024-08-09 02:23:49 +09:00
Jeong YunWon
a82982725e
fix getrandom
2024-08-09 02:23:49 +09:00
Noa
7dfb760421
Make rustpython-vm compatible with non-js wasm32-unknown & add tests
2024-08-09 02:04:25 +09:00
Jeong YunWon
b6e9a3f37e
rustpython_wasm uses the new feature
2024-08-09 00:59:29 +09:00
Jeong YunWon
2919df1df5
Mark rust-version 1.78
2024-08-08 23:20:17 +09:00
Jeong YunWon
8673169ee7
0.4.0
2024-08-07 08:38:21 +09:00
James Clarke
08c9a4d86b
Added lints and deny.toml
2024-06-25 03:59:40 +01:00
Jeong YunWon
5f0d1252b6
suppress empty-doc warning
2024-05-04 02:00:18 +09:00
Jeong YunWon
8816cd41d5
0.3.1
2024-04-10 17:39:57 +09:00
Jeong, YunWon
247572863a
rustpython_vm::import::import_source ( #5214 )
...
* rustpython_vm::import::import_source
* always print exceptions when panic by expect_pyresult
if users want simple panic, Result::expect could be used.
2024-04-09 02:37:30 +09:00
Jeong, YunWon
4135da42ac
Fix clippy ( #5083 )
...
* Fix clippy
* Fix nightly clippy
2023-10-06 03:17:03 +09:00
Jeong, YunWon
23bf5c42ca
bump up and sync dependencies with rustpython-parser ( #5075 )
2023-10-04 23:42:07 +09:00
Jeong YunWon
1208416b92
0.3.0 release
2023-09-06 18:49:55 +09:00
Jeong, YunWon
e2f7d5b2f9
fix wasm prettier ( #5055 )
2023-08-30 18:25:27 +09:00
Jeong, YunWon
c28cb3941f
prettier *.js + fix miri build ( #5028 )
...
* prettier *.js
* bump up proc-macro2
2023-07-19 23:43:26 +09:00
Jeong YunWon
dc569e9921
Refactoring
2023-05-10 19:35:27 +09:00
Jeong YunWon
f2cfa5f0a7
Split parser to new repository
...
https://github.com/RustPython/Parser/commit/6b60f85cc4ca248af9b787697c41be2adb7a3ec8
2023-05-06 14:38:11 +09:00
Jeong YunWon
98eef0804e
Method overhaul with PyMethodDef
2023-04-30 17:33:23 +09:00
Jeong YunWon
9f58921a6f
Rename IterNextIterable -> SelfIter by following CPython
2023-04-30 03:54:32 +09:00
Jeong YunWon
8503e0de90
Fix wasm build stdlib
2023-04-28 11:50:53 +09:00
Jeong, YunWon
ce13fc5f03
Merge pull request #4898 from youknowone/pymodule-expose
...
module objects' type as PyModule
2023-04-25 04:00:52 +09:00
Jeong, YunWon
c16f813794
Merge pull request #4899 from youknowone/debug-friendly-tweaks
...
debug-friendly tweaks
2023-04-25 04:00:24 +09:00