Noah
|
b8aabb7bb7
|
Implement asdl in the ast and parser
|
2021-01-14 12:37:37 -06:00 |
|
pca006132
|
af3e7dee69
|
Implements AST Customization (#2388)
|
2021-01-04 10:33:22 +08:00 |
|
Noah
|
b6d155df8b
|
Make Location Copy and remove all location.clone()s
|
2020-03-13 21:49:10 -05:00 |
|
Jeong YunWon
|
aa1d20c388
|
positional only parameter support
|
2020-03-08 00:13:13 +09:00 |
|
Jeong YunWon
|
1bac582921
|
&str::to_string -> &str::to_owned for literals
|
2020-02-05 22:55:33 +09:00 |
|
Jeong YunWon
|
e5b91c25a8
|
Reduce &String usage
|
2020-01-15 11:51:29 +09:00 |
|
Jeong YunWon
|
5d50e19432
|
dict comprehension test
|
2020-01-08 11:54:30 +09: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 |
|
Windel Bouwman
|
2fdfcb96a5
|
Add parser support for async for loop. Add yield expression inside parentheses.
|
2019-08-07 20:11:27 +02:00 |
|
Windel Bouwman
|
ded9d5ba5b
|
Add variable annotation syntax. Simplify grammar for comprehensions. Add capital J suffix for complex numbers.
|
2019-08-07 15:31:24 +02:00 |
|
Windel Bouwman
|
1024281014
|
Add support for star expression in tuple.
|
2019-07-27 13:10:55 +02:00 |
|
Windel Bouwman
|
1fddce461f
|
Implement review comments and improve parsing a bit.
|
2019-07-25 23:54:31 +02:00 |
|
Windel Bouwman
|
e922a6a952
|
Fix trailing newline issue #17
|
2019-07-21 14:00:55 +02: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
|
d6c19c1c6a
|
Add location to expressions. Change symboltable to use flags for symbols.
|
2019-07-20 20:44:38 +02:00 |
|
Windel Bouwman
|
bedbad284e
|
Change underscore into hyphen
|
2019-07-01 21:05:29 +02:00 |
|
Windel Bouwman
|
ab3d004c42
|
Fix syntax for float literals, statements seperated by semicolons and starargs after keyword arguments.
|
2019-04-05 21:59:20 +02:00 |
|
Adrian Wielgosik
|
2fb3fc92ec
|
Support chained comparisons
|
2019-04-02 23:22:54 +02:00 |
|
coolreader18
|
b7916cdb53
|
Fix varargs errors
|
2019-03-19 22:15:09 -05:00 |
|
Windel Bouwman
|
f7a22254a6
|
Add return annotation and fix tests in parser.
|
2019-03-04 20:29:34 +01:00 |
|
ricky han
|
ec93c55e6d
|
rustfmt
|
2019-02-26 18:37:40 -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 |
|
Joey
|
df76ffe116
|
Replace most relative imports with 2018-style crate
|
2019-02-20 08:50:53 -08:00 |
|
Windel Bouwman
|
e058179b04
|
Merge pull request #458 from ZapAnton/2018_edition
Migrated the project to the Rust 2018 edition
|
2019-02-20 16:44:31 +01:00 |
|
Joey Hain
|
134c3b94a5
|
support format specs in f-strings
|
2019-02-15 18:18:44 -08:00 |
|
Joey Hain
|
5968c4d922
|
convert f-string parser to state machine
|
2019-02-15 18:14:33 -08:00 |
|
Joey Hain
|
fb4d55bd8f
|
Fix f-string edge case and add more tests
|
2019-02-14 18:46:23 -08:00 |
|
ZapAnton
|
f1654cb890
|
Migrated the project to the Rust 2018 edition
|
2019-02-14 12:02:32 +03:00 |
|
Joey Hain
|
bc4e48ae61
|
Fix tests
|
2019-02-13 23:32:55 -08:00 |
|
Joey Hain
|
4ca3d3b507
|
Merge remote-tracking branch 'upstream/master' into fstrings
|
2019-02-13 23:16:40 -08:00 |
|
Joey Hain
|
7d743de43f
|
fix another edge case
|
2019-02-13 22:28:16 -08:00 |
|
Joey Hain
|
400ad80b64
|
fstrings
|
2019-02-13 21:59:21 -08: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 |
|
Windel Bouwman
|
5ffb20b26e
|
Add builtin oct function. Add weakref.ref class.
|
2018-11-04 12:07:53 +01:00 |
|
Windel Bouwman
|
9364902768
|
Add tilde unary operator in syntax.
|
2018-11-04 09:30:13 +01: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
|
b7a0b0f2f3
|
Removal of ToRust trait to prevent incorrect str representation
|
2018-11-02 20:27:05 +01:00 |
|
Windel Bouwman
|
29ce0cf2e7
|
Add support for if-filters in list comprehensions.
|
2018-10-27 11:35:46 +02:00 |
|
Windel Bouwman
|
b03dd623c7
|
Add raw strings to lexer. Add line break continuation to lexer.
|
2018-10-27 10:30:11 +02:00 |
|
Windel Bouwman
|
940c41bda8
|
Reduce lalrpop generated code size by about half. Relates to issue #173.
|
2018-10-21 16:01:39 +02:00 |
|
Windel Bouwman
|
ae768c7fe6
|
Add parsing for star arg parameters.
|
2018-10-20 11:47:23 +02:00 |
|
Windel Bouwman
|
e92ba94c61
|
Modify ast regarding keyword arguments.
|
2018-10-19 22:45:24 +02:00 |
|
Windel Bouwman
|
96d35ad4f9
|
Generalize comprehensions for list, dict and set.
|
2018-10-17 20:10:26 +02:00 |
|
Windel Bouwman
|
c9aa103cce
|
Change target of for loops into single expression.
|
2018-10-17 13:12:04 +02:00 |
|
Windel Bouwman
|
6105a836ad
|
Initial variant of list comprehensions
|
2018-10-17 12:05:10 +02:00 |
|
Windel Bouwman
|
7728ee1e63
|
Minor change to keyword arguments in function call
|
2018-10-16 23:26:37 +02:00 |
|
Windel Bouwman
|
3eafcbec3d
|
Add decorator functionality
|
2018-10-14 20:04:19 +02:00 |
|
Daniel Watkins
|
23910f78e7
|
Accept slices to function calls
Instead of allocated types, per [0].
[0] https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#ptr_arg
|
2018-09-11 15:05:33 -04:00 |
|