Commit Graph

23 Commits

Author SHA1 Message Date
Padraic Fanning
0ea56025ec Replace master with main
Fixes #3067
2021-09-15 17:54:54 -04:00
Noah
b3851c8eb8 Split the ast from the parser, remove compiler dep on parser 2020-11-07 15:43:23 -06:00
Noah
3d07a73346 Fix clippy failure on Rust 1.42.0 2020-03-12 17:42:37 -05:00
Windel Bouwman
4ca49b4d79 Add some documentation strings to the parser code. 2019-10-12 21:58:27 +02:00
Jeong YunWon
2f1fb16da1 Add mode to ast::parse 2019-10-12 18:12:36 +09:00
HyeonGyu Lee (Vazrupe)
0ab46fd2bd Add Positional argument error to LexicalError
Fixes #1046
2019-09-13 01:46:31 +09:00
coolreader18
0893076643 Add #![doc(html_logo_url = ...)] to crates 2019-07-08 23:57:18 -05:00
Windel Bouwman
97f982530a parser error handling improvements. 2019-07-06 20:18:18 +02:00
coolreader18
60ad5489f1 Ignore clippy lints in the lalrpop generated file 2019-03-30 22:58:46 -05:00
coolreader18
1b57f07834 Process lalrpop in cargo's target directory 2019-03-30 22:56:37 -05:00
Joey Hain
d6e317b185 Move f-string parser into own module and clean up a bit 2019-02-24 13:01:25 -08:00
ZapAnton
f1654cb890 Migrated the project to the Rust 2018 edition 2019-02-14 12:02:32 +03: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
ben
b13b4741ad Add tuple.__add__. Also stop rustfmt from trying to format generated parser. 2019-02-02 17:40:17 +13:00
Windel Bouwman
17fc5a2345 Implemented hexadecimal, octal and binary literals. Also use bigint in the lexer to store big integer literals. 2018-11-04 09:00:44 +01:00
Windel Bouwman
133d72fcb1 Add tokenize module. Change call_method to take a reference to a PyObjectRef. Add new method to list class. 2018-10-14 15:21:48 +02:00
Windel Bouwman
c94c5f7049 Add keyword module 2018-10-10 19:40:52 +02:00
Windel Bouwman
b653b96a46 Autoformatting 2018-07-15 13:16:00 +02:00
Windel Bouwman
2354102795 Add interactive shell 2018-07-09 22:06:49 +02:00
Windel Bouwman
8470254f07 Move last compiler / vm pieces out of parser crate 2018-07-07 17:44:30 +02:00
Windel Bouwman
4be77bcbc7 Remove unused compiler namespace in parser 2018-07-07 17:36:21 +02:00
Shing Lyu
2d0e4efecf Make the main program parse from parser and run with vm 2018-06-11 22:29:09 +02:00
Shing Lyu
277124fc1f Make the parser and vm two separate crates 2018-06-07 00:09:09 +02:00