Commit Graph

25 Commits

Author SHA1 Message Date
Chris Moradi
8bb1aabf2e Fix error message for named expression syntax errors 2021-10-02 13:43:50 -07:00
Noah
76f8ed5299 Fix clippy warnings for 1.51 2021-03-26 17:54:22 -05:00
Noah
99a8d68933 Fix test_exceptions.testRaising 2020-12-19 15:09:20 -06:00
Noah
b3851c8eb8 Split the ast from the parser, remove compiler dep on parser 2020-11-07 15:43:23 -06:00
Noah
50e19037fd Fix lalrpop semver error 2020-09-08 19:59:22 -05:00
HyeockJinKim
cdd98135ee EOF after \\ raise EOF Error
Return EOF Error to get the next line after` \\ `in the shell.

Closes #1928
2020-05-16 09:45:44 +09:00
Noah
b6d155df8b Make Location Copy and remove all location.clone()s 2020-03-13 21:49:10 -05:00
philippeitis
3b74e780ec Add ExpectedRbrace error, fix error messages. 2020-02-26 21:07:46 -08:00
Jeong YunWon
1bac582921 &str::to_string -> &str::to_owned for literals 2020-02-05 22:55:33 +09:00
Aviv Palivoda
ad4beab6f6 fix line continuation parsing 2020-01-24 21:50:19 +02:00
Aviv Palivoda
c3703f08d7 Support expression in f-strings spec 2019-12-27 10:19:07 +02:00
Seo Sanghyeon
e76edde38e Implement IndentationError 2019-10-12 02:24:12 +09:00
Seo Sanghyeon
97069c8605 Update lalrpop to 0.17 2019-10-11 15:50:15 +09:00
Seo Sanghyeon
f2e04c0e2f Implement TabError 2019-10-05 10:12:02 +09:00
Seo Sanghyeon
bdb6208f6f Do not panic in parser 2019-10-03 19:41:12 +09:00
Vazrupe (HyeonGyu Lee)
21669a023b Add duplicate keyword argument error
Fixes #116
2019-09-26 12:27:57 +09:00
Noah
f73ea1cd00 impl fmt::Display for Tok 2019-09-13 11:08:43 +02:00
HyeonGyu Lee (Vazrupe)
0ab46fd2bd Add Positional argument error to LexicalError
Fixes #1046
2019-09-13 01:46:31 +09:00
Windel Bouwman
8c199ee2f2 Refactor the lexer code to bring some more sanity and reduce function size. 2019-07-21 13:05:10 +02: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
ZapAnton
f1654cb890 Migrated the project to the Rust 2018 edition 2019-02-14 12:02:32 +03:00
holygits
570b28439a Fix tests 2019-02-14 12:31:20 +13:00
holygits
4453c3e561 Create error types for parser and compiler
Pass through locations and tokens in ParseError
2019-02-14 10:21:21 +13:00