Jeong YunWon
4cdb8d18b7
unicodedata.is_mirrored
2025-06-22 21:32:12 +09:00
Jeong, YunWon
2e368baf2a
Fix Nightly clippy ( #5798 )
2025-06-06 22:00:07 +09:00
Noa
e27d03179f
Remove getrandom 0.2 from dependencies
2025-05-21 12:12:14 +09:00
Noa
18521290bf
Update dependencies
2025-05-19 14:41:24 +09:00
Ashwin Naren
5c0f70c361
add instructions
2025-05-12 14:24:10 +09:00
Jeong YunWon
06c4b151d6
Add radium patch to fix CI
2025-05-07 18:21:36 +09:00
Ashwin Naren
a5016446f4
_lzma implementation and test marking
...
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
2025-05-07 15:01:23 +09:00
Ashwin Naren
2a1ea45659
add _lzma module with new dependency
...
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
2025-05-07 15:01:23 +09:00
Jeong YunWon
cd1c9be0e1
Fix Cargo.lock
2025-04-30 15:04:26 +09:00
Ashwin Naren
e8df06582e
bump dependencies
2025-04-30 14:49:21 +09:00
Jeong YunWon
b0991e28a2
Replace puruspe to pymath
...
Might be lower quality, but better compatibility
2025-04-29 17:39:50 +09:00
Noa
7aad6e03e3
Update to malachite 0.6
2025-04-25 00:22:26 -05:00
Noa and Ashwin Naren
e640487572
Use libbz2-rs-sys for bzip2 implementation
...
Co-authored-by: Ashwin Naren <arihant2math@gmail.com >
2025-04-19 23:13:27 -05:00
Noa
10fd02e42e
Use constant_time_eq instead of our bespoke implementation
2025-04-17 11:05:57 -05:00
Noa
2e14b7b5e8
Upgrade system-configuration and libz-rs-sys
2025-04-16 17:14:18 -05:00
Noa
7eb361c92f
Upgrade which and rustix
2025-04-16 17:14:16 -05:00
Noa
2e260761ae
Upgrade criterion
2025-04-16 17:09:07 -05:00
Noa
99a384a3c7
Upgrade radium
2025-04-16 17:08:52 -05:00
Ashwin Naren
a7ad848270
Rust dependency updates ( #5651 )
2025-04-15 08:50:29 +09:00
Ashwin Naren
8dc1718002
Match statements rewrite ( #5628 )
2025-04-10 14:00:54 +09:00
Ashwin Naren
be56911598
_tkinter pt. 2 ( #5640 )
2025-04-06 17:21:28 +09:00
dependabot[bot]
c2665e38ba
Bump openssl from 0.10.71 to 0.10.72
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.71 to 0.10.72.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.71...openssl-v0.10.72 )
---
updated-dependencies:
- dependency-name: openssl
dependency-version: 0.10.72
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-05 14:48:08 +09:00
Noa
160363fa46
Fix float parsing ( #5643 )
...
* Fix float parsing
* Add rustpython_literal::complex
* Don't call .to_string() on a constant
2025-03-31 14:37:47 +09:00
Noa
0b35946972
Make FromArgs default field take an expression, not a string literal
2025-03-31 11:48:06 +09:00
Noa
24d995678f
Remove some unncessary dependencies
2025-03-31 11:28:15 +09:00
Noa
b067986576
Bump cranelift to 0.118
2025-03-30 13:40:24 +09:00
Noa
d3d92bbb6f
Update unparse to work with ruff & remove ruff_python_codegen
2025-03-27 22:14:58 -05:00
Noa
f398321b1f
Remove parser dependency from codegen
2025-03-27 22:09:00 -05:00
Noa
7d05f881c4
Have rustpython_literal::escape support wtf8
2025-03-28 11:26:29 +09:00
Noa
030243a6f9
Split out wtf8 into its own crate
2025-03-28 11:26:29 +09:00
Noa
b6aacbf401
Merge pull request #5629 from coolreader18/surrogate-literals
...
Parse surrogates in string literals properly
2025-03-27 10:15:41 -05:00
Noa
6e79a2aa8a
Merge pull request #5626 from youknowone/remove-unused-deps
...
Remove unused dependency
2025-03-26 23:37:52 -05:00
Noa
bea25a0285
Merge pull request #5627 from youknowone/once-cell
...
Replace direct use of once_cell to std
2025-03-26 23:36:31 -05:00
Noa
c6cab4c43a
Parse surrogates in string literals properly
2025-03-26 22:44:42 -05:00
Jeong YunWon
97fa11d526
Remove unused dependency
2025-03-26 20:18:29 +09:00
Jeong YunWon
ec09599d84
Remoce once_cell::Lazy usage
2025-03-26 18:22:23 +09:00
Noa
f323d14ed3
Refactor codecs
2025-03-26 02:24:01 -05:00
Noa
b36b32bfe8
Make re wtf8-compatible
2025-03-25 19:05:12 -05:00
Noa
cace112b1a
Allow surrogates in str
2025-03-25 19:05:11 -05:00
Ashwin Naren
9779de98b8
_tkinter pt. 1 ( #5583 )
...
* Add _tkinter module and gate
* add tkinter module
* add tcl_error
* fix tk setup and add demo
* fix TK_VERSION
* create and TkApp
2025-03-23 12:25:52 +09:00
Noa
c585678ec9
Merge format and literal back into this repo (and update malachite) ( #5618 )
...
* Merge format and literal back into this repo
* Update format and literal to work
* Update malachite
* Remove RustPython/Parser from Cargo.toml
2025-03-23 09:27:13 +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
+1
45c0fa0e77
Floating Point Power and While Loop JIT ( #5614 )
...
* Initial commit for power function
* Float power jit developed
* Addded support for Floats and Ints
* Integration Testing for JITPower implementation.
* Update instructions.rs
* Update int_tests.rs
* Update float_tests.rs
* Updated cranelift and power function to use magic bs
* Updated the compile_fpow accuracy
* updating while loop test
* Update instructions.rs
cranelift more like painlift
* Update instructions.rs
* Update instructions.rs
* initial commit for making stable PR ready features
* fixed final edge case for compile_ipow
* fixed final edge case for compile_ipow
* commenting out compile_ipow
* fixed spelling errors
* removed unused tests
* forgot to run clippy
* Cleaned the branch
* While loop implementation for Cranelift 0.116.1
* Floating Point
* Removed testing print statement
* Resolved some formatting
* Fixed cargo fmt warning
* Fixed int div and int exp issues
* Fixed formatting
---------
Co-authored-by: Nick <nick@Samanthas-MBP.wi.rr.com >
Co-authored-by: JoeLoparco <loparcojoseph@gmail.com >
Co-authored-by: Daniel O'Hear <149127239+dohear@users.noreply.github.com >
Co-authored-by: Joseph Loparco <149088810+JoeLoparco@users.noreply.github.com >
Co-authored-by: Nick <nick@pcp090057pcs.mu.edu >
Co-authored-by: dohear <daniel.ohear@marquette.edu >
Co-authored-by: Nathan Rusch <nathan.rusch@icloud.com >
Co-authored-by: Nick <nick@pcp093574pcs.mu.edu >
Co-authored-by: Joseph Loparco <--global loparcoJoseph@gmail.com >
Co-authored-by: Nick <nick@Samanthas-MacBook-Pro.local >
2025-03-19 13:50:42 -05:00
Noa
a596568151
Use lexopt for argument parsing ( #5602 )
2025-03-19 12:28:58 -05:00
Ashwin Naren
33940726a8
upgrade to windows-sys 0.59.0
2025-03-05 13:49:37 -06:00
Ashwin Naren
3ae1160868
Remove winapi dependency
2025-03-05 13:49:37 -06:00
Ashwin Naren
40e3f49ab7
_ctypes pt. 3 ( #5530 )
...
* Initial CFuncPtr implementation
* function calling via libffi
* working no-arg function call
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
2025-03-03 15:53:04 +09:00
Noa
4468dcbe34
Switch to libz-rs-sys for zlib implementation
2025-02-25 23:19:19 -06:00
Noa
52208b3c90
Update to syn2 ( #5556 )
2025-02-25 11:54:13 +09:00