Jeong YunWon
|
9155ed3826
|
Remove useless and_then
|
2023-03-18 22:10:25 +09:00 |
|
Jeong YunWon
|
70f8e04af3
|
Update cspell for compiler
|
2023-03-16 22:39:09 +09:00 |
|
Jeong YunWon
|
7b84229db5
|
Add #![deny(clippy::cast_possible_truncation)]
|
2023-03-02 13:34:21 +09:00 |
|
Jeong YunWon
|
0cd04ca2de
|
usize::to_u32 for compiler internal conversion
|
2023-03-02 13:32:54 +09:00 |
|
Noa
|
41b465dee1
|
Custom marshal enc/decoding impl
|
2023-03-01 20:47:21 -06:00 |
|
DimitrisJim
|
50b5388711
|
Disallow __debug__ as args, kwargs name.
|
2023-03-01 12:15:41 +02:00 |
|
DimitrisJim
|
ce5cdd1bcb
|
Always load __debug__ as a const.
|
2023-02-26 09:58:27 +02:00 |
|
Jeong YunWon
|
30f85787a7
|
use super::* from tests submodules
|
2023-02-22 21:01:39 +09:00 |
|
Jeong YunWon
|
bf3f3eca62
|
Flatten rustpython_parser interface
|
2023-02-22 20:32:31 +09:00 |
|
Charlie Marsh
|
2a86dbd644
|
Implement except* syntax
|
2023-02-21 12:19:54 +09:00 |
|
Jeong YunWon
|
00dc7ec709
|
use workspace dependencies
|
2023-02-06 15:30:38 +09:00 |
|
harupy
|
d83e3ee8cd
|
Revert "Simplify compile_dict"
This reverts commit b31b08a30eb24e246b7f0a0d69b2b5e56a7e7a40.
|
2023-01-16 01:27:54 +09:00 |
|
harupy
|
6bda1a9e9e
|
Simplify compile_dict
|
2023-01-15 23:20:00 +09:00 |
|
harupy
|
64736d0541
|
Simplify scan_expression
|
2023-01-15 22:08:19 +09:00 |
|
harupy
|
f8ae56c75b
|
Fix clippy errors
|
2023-01-15 15:04:15 +09:00 |
|
harupy
|
cb3578dbf2
|
Fix scan_expression and compile_dict
|
2023-01-15 14:54:58 +09:00 |
|
harupy
|
375d592562
|
Fix scan_expression and compile_dict
|
2023-01-15 13:22:05 +09:00 |
|
Noa
|
da96cecfca
|
Switch from 64-bit instruction enum to out-of-line arg values
|
2023-01-12 23:05:17 -06:00 |
|
Noa
|
e3fa5a54ba
|
Bump all crate versions to 0.2.0
|
2023-01-11 00:14:28 -06:00 |
|
harupy
|
72185fecd5
|
Add with_col_offset and with_row_offset to Location
|
2023-01-04 13:16:03 +09:00 |
|
harupy
|
b5171c3b4a
|
Fix tests
|
2022-12-30 22:46:31 +09:00 |
|
yt2b
|
572bbda60b
|
Fix is_local
|
2022-12-22 23:27:36 +09:00 |
|
yt2b
|
66d79ce568
|
Fix symbol scope
|
2022-12-18 09:48:35 +09:00 |
|
Jeong YunWon
|
9250260e20
|
Fix nightly clippy warnings
|
2022-12-05 12:18:16 +09:00 |
|
yt2b
|
7b9e7e0443
|
Use intersects
|
2022-11-28 20:48:03 +09:00 |
|
yt2b
|
7cdbb5d7b6
|
Replace bool variable with SymbolFlags
|
2022-11-28 00:46:10 +09:00 |
|
yt2b
|
7dccce5e20
|
Fix comment
|
2022-11-27 23:46:45 +09:00 |
|
yt2b
|
eee3c03042
|
Reduce nesting of match expression
|
2022-11-27 23:43:26 +09:00 |
|
yt2b
|
27dd95c8f9
|
Add SymbolFlags
|
2022-11-27 23:36:25 +09:00 |
|
yt2b
|
7f2f2cb8ad
|
Add bitflags
|
2022-11-27 23:30:52 +09:00 |
|
Jeong YunWon
|
e081f1041e
|
Apply let-else statements
|
2022-11-10 15:39:31 +09:00 |
|
dvermd
|
de7acf6f99
|
improve fstring parser
part of: #1671
|
2022-10-26 21:15:24 +02:00 |
|
Kuan-Chun Wang
|
a96bc6ad3e
|
Fix global behavior on class (#4234)
|
2022-10-21 13:06:50 +09:00 |
|
Jeong YunWon
|
3768647eb0
|
Merge pull request #4226 from jopemachine/fix-class-static
Fix lambda expression's unexpected `UnboundLocalError`
|
2022-10-17 13:46:09 +09:00 |
|
Gyubong
|
586e0425c1
|
Fix #3934
|
2022-10-16 15:34:44 +09:00 |
|
Jeong YunWon
|
621f58407a
|
Fix nightly clippy warnings
|
2022-10-16 02:38:50 +09:00 |
|
Gyubong
|
830f208371
|
Handle Lambda Expression
|
2022-10-01 18:23:11 +09:00 |
|
Gyubong
|
f5ce4a6cc3
|
Always insert None at code_stack.constants
|
2022-09-21 16:11:29 +09:00 |
|
Jeong YunWon
|
4de373551e
|
remove Mode from codegen root
|
2022-08-23 05:15:27 +09:00 |
|
Jeong YunWon
|
a1640e4aa1
|
new_syntax_error working without full compiler
Fix #4100
|
2022-08-23 05:08:24 +09:00 |
|
Jeong YunWon
|
5b50c547d6
|
Integrate CompileError to compiler-core::BaseError
|
2022-08-22 23:18:41 +09:00 |
|
Jeong YunWon
|
1192a11d39
|
integrate CodegenError to compiler-core::Error
|
2022-08-22 18:43:03 +09:00 |
|
Jeong YunWon
|
9d6ab72d79
|
integrate ast::Location into compilre-core::Location
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
b3095c7451
|
rustpython-bytecode -> rustpython-compiler-core
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
d60ad9be23
|
sort Cargo.toml dependencies
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
03ccd4b9d8
|
Add source_path to ParseError
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
cf10e800a6
|
codegen::{CompileError -> CodegenError}
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
3690272256
|
Refactor Mode and partial parser/codegen for eval/exec
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
9c229ebb99
|
Refactor symboltables and _ast to use codegen when possible
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
060d153bb3
|
reorganize compiler crates
|
2022-08-22 04:42:42 +09:00 |
|