Commit graph

29 commits

Author SHA1 Message Date
Jeong YunWon
70f8e04af3 Update cspell for compiler 2023-03-16 22:39:09 +09:00
Charlie Marsh
5d2228999b Include Derive feature with optional Serde dependency 2023-03-12 14:46:10 -04:00
Jeong YunWon
23afdf4d80 Merge pull request #4608 from coolreader18/bag-deser
Rework frozen modules and directly deserialize to CodeObject<Literal>
2023-03-10 05:19:23 +09:00
Noa
18de25c8a6 Rework frozen modules and directly deserialize to CodeObject<Literal> 2023-03-06 13:45:33 -06:00
Charlie Marsh
86ce9e8ff3 Add optional serde dependency 2023-03-02 15:38:40 -05:00
Noa
461ef3d71d Address review comments 2023-03-01 21:11:59 -06:00
Noa
41b465dee1 Custom marshal enc/decoding impl 2023-03-01 20:47:21 -06:00
Jeong YunWon
30f85787a7 use super::* from tests submodules 2023-02-22 21:01:39 +09:00
Jeong YunWon
019faeac24 Fix ModeParseError message 2023-02-22 20:28:03 +09:00
Jeong YunWon
00dc7ec709 use workspace dependencies 2023-02-06 15:30:38 +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
60cbfd3a94 Implement Default for Location 2023-01-05 22:48:47 +09:00
harupy
89ff74457e Use Self 2023-01-04 13:19:23 +09:00
harupy
72185fecd5 Add with_col_offset and with_row_offset to Location 2023-01-04 13:16:03 +09:00
Jeong YunWon
9250260e20 Fix nightly clippy warnings 2022-12-05 12:18:16 +09:00
dvermd
1dfa2e5239 improve col_offset in new line and lalr 2022-10-26 21:30:51 +02:00
dvermd
ac77f7f501 Fix ast types' _fields and use 0-based column 2022-10-27 03:09:38 +09:00
Jeong YunWon
621f58407a Fix nightly clippy warnings 2022-10-16 02:38:50 +09:00
Charlie Marsh
307bc46d74 Add PartialOrd to Location 2022-09-04 16:31:43 -04:00
Jeong YunWon
122382cb53 use thiserror 2022-08-23 05:08:24 +09:00
Jeong YunWon
a1640e4aa1 new_syntax_error working without full compiler
Fix #4100
2022-08-23 05:08:24 +09:00
Jeong YunWon
4724cc63f7 Move out CompileError to core as generic form 2022-08-23 01:30:00 +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
9d67b944cf Integrate ParseError to compiler-core::Error 2022-08-22 16:28:08 +09:00
Jeong YunWon
9d6ab72d79 integrate ast::Location into compilre-core::Location 2022-08-22 08:42:20 +09:00
Jeong YunWon
a22abc5550 Share location between compiler crates 2022-08-22 08:42:20 +09:00
Jeong YunWon
b3095c7451 rustpython-bytecode -> rustpython-compiler-core 2022-08-22 08:42:20 +09:00