Commit Graph

23 Commits

Author SHA1 Message Date
Jeong Yunwon
6357a1acbe clean up imports and useless allow attributes 2022-04-15 23:58:20 +09:00
Noah
a00135c65a Update the compiler to use the new asdl ast types 2021-01-14 12:37:37 -06:00
Noah
3280a1655a Optimize the size of Instruction 2020-12-14 14:25:19 -06:00
Noah
7c58f4a0c8 Fast locals part 3 2020-12-05 16:36:35 -06:00
Noah
b3851c8eb8 Split the ast from the parser, remove compiler dep on parser 2020-11-07 15:43:23 -06:00
Jeong YunWon
1c0925b4d9 CompilerError always contains source_path 2020-07-14 13:48:39 +09:00
Jeong YunWon
7bce7baf4a Fix SyntaxError visualize order: message first location later 2020-05-30 01:07:38 +00:00
Jeong YunWon
09d849ab0a Distinguish MultipleStarArgs and InvalidStarArgs compile errors 2020-05-30 01:07:38 +00:00
Noah
5b2cfb442d Make from __future__ imports a syntactic construct in the compiler 2020-04-03 12:34:00 -05:00
Noah
af25fbed39 Fix syntax error tests 2020-03-21 00:35:36 -05:00
coolreader18
b83443cea9 Partially implement async generators 2020-03-21 00:33:46 -05:00
Jeong YunWon
1bac582921 &str::to_string -> &str::to_owned for literals 2020-02-05 22:55:33 +09:00
Jeong YunWon
2e54f9a807 implement SyntaxError attributes 2019-12-16 00:08:16 +09:00
Aviv Palivoda
1279079e5f Fix caret diagnostics for mutiple lines 2019-11-29 11:32:45 +02:00
yanganto
7f45ed3cca Provide caret diagnostics for SyntaxError
visualize syntax error with caret diagnostics in shell, eval, exec,
when the error statement and error location are provided.
2019-11-22 09:17:50 +08:00
Seo Sanghyeon
7caeee7810 Shut up Clippy 2019-10-12 18:18:45 +09:00
Seo Sanghyeon
e76edde38e Implement IndentationError 2019-10-12 02:24:12 +09:00
Seo Sanghyeon
f2e04c0e2f Implement TabError 2019-10-05 10:12:02 +09:00
Windel Bouwman
97f982530a parser error handling improvements. 2019-07-06 20:18:18 +02:00
Aviv Palivoda
0e74d16498 Pass ParseError location to CompileError 2019-07-06 10:23:32 +03:00
Aviv Palivoda
ef1d5433df Pass more information in user defined parse error 2019-07-05 11:01:49 +03:00
Windel Bouwman
f816a50110 Change get_row() into row() 2019-06-30 20:23:01 +02:00
coolreader18
45bb2bd263 Split off bytecode compilation into a separate crate 2019-06-12 21:43:43 -05:00