Steve Shi
|
de0d323ad3
|
change dependency from num-bigint to malachite-bigint (#4952)
|
2023-06-08 14:28:39 +09:00 |
|
Jeong, YunWon
|
7a3f965396
|
new ast layout for arguments (#4978)
|
2023-06-02 17:07:34 +09:00 |
|
Jeong YunWon
|
dc569e9921
|
Refactoring
|
2023-05-10 19:35:27 +09:00 |
|
Jeong YunWon
|
f1b261b4f8
|
Adapt byte-offset location
|
2023-05-10 04:13:30 +09:00 |
|
Jeong YunWon
|
bac1cdc55f
|
Remove compiler_core::CompileError
|
2023-05-06 18:22:25 +09:00 |
|
Jeong YunWon
|
f2cfa5f0a7
|
Split parser to new repository
6b60f85cc4
|
2023-05-06 14:38:11 +09:00 |
|
Jeong YunWon
|
21afc1933a
|
Update cspell for compiler
|
2023-03-16 22:39:09 +09:00 |
|
Noa
|
6d1f2986fe
|
Custom marshal enc/decoding impl
|
2023-03-01 20:47:21 -06:00 |
|
Jeong YunWon
|
f078f79c90
|
Flatten rustpython_parser interface
|
2023-02-22 20:32:31 +09:00 |
|
Jeong YunWon
|
a6f8c53924
|
Break down rustpython_parser::error module
because it doesn't share any common errors but specific error for each sub module
|
2023-02-22 20:28:01 +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
|
185dd4a795
|
Split derive-impl and derive
|
2022-12-19 18:48:17 -06:00 |
|
Jeong YunWon
|
6b8e9c2118
|
parser::Mode from compile::Mode
|
2022-08-23 05:08:24 +09:00 |
|
Jeong YunWon
|
55061c7b6a
|
new_syntax_error working without full compiler
Fix #4100
|
2022-08-23 05:08:24 +09:00 |
|
Jeong YunWon
|
d876673546
|
Move out CompileError to core as generic form
|
2022-08-23 01:30:00 +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
|
9ecbff8b98
|
Integrate ParseError to compiler-core::Error
|
2022-08-22 16:28:08 +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
|
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 |
|
Padraic Fanning
|
0ea56025ec
|
Replace master with main
Fixes #3067
|
2021-09-15 17:54:54 -04:00 |
|
Noah
|
688880c540
|
Use ahash in the compiler
|
2021-01-08 17:00:23 -06:00 |
|
Noah
|
32a1dd60be
|
Have a block-based IR for compiling, calculate max stack size
|
2020-12-21 18:47:58 -06:00 |
|
Noah
|
e87144e2c5
|
Add flags to the MakeFunction instruction
|
2020-12-14 14:35:17 -06:00 |
|
Noah
|
4c8fdc49c7
|
Update compiler to output codeobj.constants, use insta for snapshot testing
|
2020-10-19 23:55:55 -05:00 |
|
Jeong YunWon
|
2f1fb16da1
|
Add mode to ast::parse
|
2019-10-12 18:12:36 +09:00 |
|
coolreader18
|
8f28149f67
|
Address comments
|
2019-08-07 14:40:16 -05:00 |
|
coolreader18
|
b48f0c2a8b
|
Fix label issue
|
2019-08-03 23:58:59 -05:00 |
|
coolreader18
|
ba6758035f
|
Make peephole optimizer a stream processor
|
2019-08-03 22:02:29 -05:00 |
|
Windel Bouwman
|
215308d474
|
Add initial draft of symtable module.
|
2019-07-16 22:04:38 +02:00 |
|
coolreader18
|
0893076643
|
Add #![doc(html_logo_url = ...)] to crates
|
2019-07-08 23:57:18 -05:00 |
|
Windel Bouwman
|
183415e64b
|
Move bytecode into own crate.
|
2019-06-30 11:01:40 +02:00 |
|
coolreader18
|
c2502bf8ef
|
Add doc comments and individual compile functions
|
2019-06-12 22:04:59 -05:00 |
|
coolreader18
|
45bb2bd263
|
Split off bytecode compilation into a separate crate
|
2019-06-12 21:43:43 -05:00 |
|