Commit graph

21 commits

Author SHA1 Message Date
Noah
48ca658ba0 Optimize the size of Instruction 2020-12-14 14:25:19 -06:00
Noah
8458e13e35 Fast locals part 3 2020-12-05 16:36:35 -06:00
Noah
e9095a741d Split the ast from the parser, remove compiler dep on parser 2020-11-07 15:43:23 -06:00
Jeong YunWon
1125a529e7 CompilerError always contains source_path 2020-07-14 13:48:39 +09:00
Jeong YunWon
3f1b9c6096 Fix SyntaxError visualize order: message first location later 2020-05-30 01:07:38 +00:00
Jeong YunWon
a77e0b8587 Distinguish MultipleStarArgs and InvalidStarArgs compile errors 2020-05-30 01:07:38 +00:00
Noah
a499fb775a Make from __future__ imports a syntactic construct in the compiler 2020-04-03 12:34:00 -05:00
Noah
7d6d5ff907 Fix syntax error tests 2020-03-21 00:35:36 -05:00
coolreader18
d5b9e6b93a Partially implement async generators 2020-03-21 00:33:46 -05:00
Jeong YunWon
7860fc877d &str::to_string -> &str::to_owned for literals 2020-02-05 22:55:33 +09:00
Jeong YunWon
23993c2833 implement SyntaxError attributes 2019-12-16 00:08:16 +09:00
Aviv Palivoda
aff1a6d53c Fix caret diagnostics for mutiple lines 2019-11-29 11:32:45 +02:00
yanganto
28fbdffdc8 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
0000903a7d Shut up Clippy 2019-10-12 18:18:45 +09:00
Seo Sanghyeon
407bb9e4cb Implement IndentationError 2019-10-12 02:24:12 +09:00
Seo Sanghyeon
a1e228d4ee Implement TabError 2019-10-05 10:12:02 +09:00
Windel Bouwman
888cb310e5 parser error handling improvements. 2019-07-06 20:18:18 +02:00
Aviv Palivoda
9f068a3146 Pass ParseError location to CompileError 2019-07-06 10:23:32 +03:00
Aviv Palivoda
f4a94903b3 Pass more information in user defined parse error 2019-07-05 11:01:49 +03:00
Windel Bouwman
6f063a402d Change get_row() into row() 2019-06-30 20:23:01 +02:00
coolreader18
064919348d Split off bytecode compilation into a separate crate 2019-06-12 21:43:43 -05:00