DimitrisJim
|
8294d4ae8e
|
Disallow __debug__ as args, kwargs name.
|
2023-03-01 12:15:41 +02:00 |
|
DimitrisJim
|
8405693325
|
Always load __debug__ as a const.
|
2023-02-26 09:58:27 +02:00 |
|
Jeong YunWon
|
f96942bdc0
|
use super::* from tests submodules
|
2023-02-22 21:01:39 +09:00 |
|
Jeong YunWon
|
f078f79c90
|
Flatten rustpython_parser interface
|
2023-02-22 20:32:31 +09:00 |
|
Charlie Marsh
|
da9b2ee6b9
|
Implement except* syntax
|
2023-02-21 12:19:54 +09:00 |
|
Jeong YunWon
|
42a22c280d
|
use workspace dependencies
|
2023-02-06 15:30:38 +09:00 |
|
harupy
|
f4363c8a86
|
Revert "Simplify compile_dict"
This reverts commit b31b08a30e.
|
2023-01-16 01:27:54 +09:00 |
|
harupy
|
b31b08a30e
|
Simplify compile_dict
|
2023-01-15 23:20:00 +09:00 |
|
harupy
|
15228f4463
|
Simplify scan_expression
|
2023-01-15 22:08:19 +09:00 |
|
harupy
|
fdd3beaf58
|
Fix clippy errors
|
2023-01-15 15:04:15 +09:00 |
|
harupy
|
ae770996f6
|
Fix scan_expression and compile_dict
|
2023-01-15 14:54:58 +09:00 |
|
harupy
|
cdb1323515
|
Fix scan_expression and compile_dict
|
2023-01-15 13:22:05 +09:00 |
|
Noa
|
2861c874ed
|
Switch from 64-bit instruction enum to out-of-line arg values
|
2023-01-12 23:05:17 -06:00 |
|
Noa
|
c7faae9b22
|
Bump all crate versions to 0.2.0
|
2023-01-11 00:14:28 -06:00 |
|
harupy
|
a6cebc4f51
|
Add with_col_offset and with_row_offset to Location
|
2023-01-04 13:16:03 +09:00 |
|
harupy
|
d39269405b
|
Fix tests
|
2022-12-30 22:46:31 +09:00 |
|
yt2b
|
9c81ce646a
|
Fix is_local
|
2022-12-22 23:27:36 +09:00 |
|
yt2b
|
0719231bb9
|
Fix symbol scope
|
2022-12-18 09:48:35 +09:00 |
|
Jeong YunWon
|
d935fbc445
|
Fix nightly clippy warnings
|
2022-12-05 12:18:16 +09:00 |
|
yt2b
|
dd83308396
|
Use intersects
|
2022-11-28 20:48:03 +09:00 |
|
yt2b
|
a5ef816c41
|
Replace bool variable with SymbolFlags
|
2022-11-28 00:46:10 +09:00 |
|
yt2b
|
dbf27a955d
|
Fix comment
|
2022-11-27 23:46:45 +09:00 |
|
yt2b
|
de10ce2d89
|
Reduce nesting of match expression
|
2022-11-27 23:43:26 +09:00 |
|
yt2b
|
1ffb652adf
|
Add SymbolFlags
|
2022-11-27 23:36:25 +09:00 |
|
yt2b
|
f23ea5eb09
|
Add bitflags
|
2022-11-27 23:30:52 +09:00 |
|
Jeong YunWon
|
499b34cee0
|
Apply let-else statements
|
2022-11-10 15:39:31 +09:00 |
|
dvermd
|
dc595d1276
|
improve fstring parser
part of: #1671
|
2022-10-26 21:15:24 +02:00 |
|
Kuan-Chun Wang
|
dda6f86ba3
|
Fix global behavior on class (#4234)
|
2022-10-21 13:06:50 +09:00 |
|
Jeong YunWon
|
72332c90d1
|
Merge pull request #4226 from jopemachine/fix-class-static
Fix lambda expression's unexpected `UnboundLocalError`
|
2022-10-17 13:46:09 +09:00 |
|
Gyubong
|
67c4bd0467
|
Fix #3934
|
2022-10-16 15:34:44 +09:00 |
|
Jeong YunWon
|
d94f638784
|
Fix nightly clippy warnings
|
2022-10-16 02:38:50 +09:00 |
|
Gyubong
|
70812eb880
|
Handle Lambda Expression
|
2022-10-01 18:23:11 +09:00 |
|
Gyubong
|
2426f11ebc
|
Always insert None at code_stack.constants
|
2022-09-21 16:11:29 +09:00 |
|
Jeong YunWon
|
60a6714d5d
|
remove Mode from codegen root
|
2022-08-23 05:15:27 +09:00 |
|
Jeong YunWon
|
55061c7b6a
|
new_syntax_error working without full compiler
Fix #4100
|
2022-08-23 05:08:24 +09:00 |
|
Jeong YunWon
|
9aacd144ca
|
Integrate CompileError to compiler-core::BaseError
|
2022-08-22 23:18:41 +09:00 |
|
Jeong YunWon
|
31f95eeb1e
|
integrate CodegenError to compiler-core::Error
|
2022-08-22 18:43:03 +09:00 |
|
Jeong YunWon
|
65df1fe9b6
|
integrate ast::Location into compilre-core::Location
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
fc6d614bf4
|
rustpython-bytecode -> rustpython-compiler-core
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
6eeaf976a2
|
sort Cargo.toml dependencies
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
d45f3da192
|
Add source_path to ParseError
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
58f5122b3d
|
codegen::{CompileError -> CodegenError}
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
1606c26c99
|
Refactor Mode and partial parser/codegen for eval/exec
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
4d0d9ff1a1
|
Refactor symboltables and _ast to use codegen when possible
|
2022-08-22 08:42:20 +09:00 |
|
Jeong YunWon
|
fb5ac9e79b
|
reorganize compiler crates
|
2022-08-22 04:42:42 +09:00 |
|