Commit graph

18 commits

Author SHA1 Message Date
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
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