Windel Bouwman
|
ff762d7109
|
Address relative import with 3 dots. Closes #1052.
|
2019-07-15 21:41:43 +02:00 |
|
Windel Bouwman
|
0741c36bb8
|
Simplify import AST in line with CPython.
|
2019-07-15 21:00:28 +02:00 |
|
Windel Bouwman
|
e06de30eb6
|
Implement more nodes in the ast. Add script to walk over AST of sourcecode.
|
2019-07-14 21:18:49 +02:00 |
|
Windel Bouwman
|
18bb56330e
|
Merge pull request #1115 from RustPython/fstring-fix
Improve f-string syntax. Fixes #1099
|
2019-07-07 19:42:21 +02:00 |
|
Windel Bouwman
|
7e138eca3b
|
Improve f-string syntax. Fixes #1099
|
2019-07-07 12:04:43 +02:00 |
|
Windel Bouwman
|
97f982530a
|
parser error handling improvements.
|
2019-07-06 20:18:18 +02:00 |
|
Aviv Palivoda
|
0d8d2e3beb
|
Calculate import level at parsing
|
2019-06-29 17:04:31 +03:00 |
|
Aviv Palivoda
|
12a3028806
|
Import all from_list in one __import__ call
|
2019-06-14 08:27:49 +03:00 |
|
Jeong YunWon
|
e12c6813ef
|
Add dict unpacking support for literal
|
2019-05-07 04:42:58 +09:00 |
|
Windel Bouwman
|
b3b523ffa9
|
Add await syntax.
|
2019-05-02 17:11:51 +02:00 |
|
Windel Bouwman
|
5bc1aa08dc
|
Add async def and async for parsing.
|
2019-05-02 16:55:33 +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 |
|
Windel Bouwman
|
29a137bf0f
|
Drop testlist2. Also add test cases for trailing comma in for statement and tuple addition example.
|
2019-04-03 22:24:19 +02:00 |
|
Windel Bouwman
|
23f57f757c
|
Improve trailing comma situation
|
2019-04-03 14:08:12 +02:00 |
|
Adrian Wielgosik
|
2fb3fc92ec
|
Support chained comparisons
|
2019-04-02 23:22:54 +02:00 |
|
Windel Bouwman
|
69c81730d3
|
Merge pull request #760 from RustPython/parser-fixes
Add support for trailing comma in function defs. Parser code simplica…
|
2019-03-31 10:57:51 +02:00 |
|
coolreader18
|
1b57f07834
|
Process lalrpop in cargo's target directory
|
2019-03-30 22:56:37 -05:00 |
|
Windel Bouwman
|
73cd680d8d
|
Add support for trailing comma in function defs. Parser code simplications.
|
2019-03-28 17:50:41 +01:00 |
|
coolreader18
|
ab53883f67
|
Change varargs from Option<Option<_>> to its own enum
|
2019-03-19 19:53:22 -05:00 |
|
Windel Bouwman
|
0292146a42
|
Add subscript list in grammar.
|
2019-03-05 17:28:15 +01:00 |
|
Adam
|
d278fb841c
|
Merge pull request #597 from RustPython/type_hints
Add type annotations to parser.
|
2019-03-05 14:43:30 +00:00 |
|
Windel Bouwman
|
e25742f184
|
Add ellipsis syntax.
|
2019-03-04 21:09:03 +01:00 |
|
Windel Bouwman
|
f7a22254a6
|
Add return annotation and fix tests in parser.
|
2019-03-04 20:29:34 +01:00 |
|
Windel Bouwman
|
6544f60d9b
|
Add type annotations to parser.
|
2019-03-04 19:24:34 +01: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 Hain
|
114d9df1d1
|
Allow attributes to be used as decorators
|
2019-02-16 19:43:25 -08:00 |
|
Joey Hain
|
a97e05a164
|
Add missing semicolon to Bytes rule
|
2019-02-13 23:11:54 -08:00 |
|
Joey Hain
|
400ad80b64
|
fstrings
|
2019-02-13 21:59:21 -08:00 |
|
Adrian Wielgosik
|
7dfb0728fd
|
Change lambda parsing to be closer to Python grammar. Fixes #427
|
2019-02-13 21:01:13 +01:00 |
|
Windel Bouwman
|
2b22cd443e
|
Implement clippy thoughts into rustpython_parser
|
2019-02-04 18:18:40 +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
|
079905277b
|
Add time module and improve lexer handling of numeric constants
|
2018-11-03 15:12:12 +01:00 |
|
Windel Bouwman
|
5053d6d167
|
Add bytes literal support.
|
2018-10-28 21:15:46 +01:00 |
|
Windel Bouwman
|
4187a6ee39
|
Add support for star expanded argument in list and tuple constructions.
|
2018-10-28 14:16:11 +01:00 |
|
Windel Bouwman
|
1f30693718
|
Allow unpack in assignment of list as well as trailing comma for 1 sized tuples
|
2018-10-28 00:26:24 +02: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
|
09e2c027cd
|
Extend ast module with more nodes. Test send method on generators.
|
2018-10-24 16:02:59 +02:00 |
|
Windel Bouwman
|
babb8ed2f0
|
Deleted comparison based on objectkind
|
2018-10-24 12:02:16 +02:00 |
|
Windel Bouwman
|
acefe3841e
|
Add initial generator builtin type
|
2018-10-23 21:27:40 +02:00 |
|
Windel Bouwman
|
1222830678
|
Implement star arg on left hand side of assignment.
|
2018-10-22 21:52:06 +02:00 |
|
Windel Bouwman
|
f59f8a9567
|
Add support for *args and **kwargs in functions.
|
2018-10-21 20:48:08 +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
|
bc23e60962
|
Add generator expression syntax
|
2018-10-20 12:16:18 +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
|
8f3e1a3b25
|
Add error handling to compiler.
|
2018-10-19 20:51:50 +02:00 |
|
Windel Bouwman
|
7e45d0b8b4
|
Add del statement
|
2018-10-19 18:41:44 +02:00 |
|
Windel Bouwman
|
e334941728
|
Removal of Clone trait on ast nodes. Should reduce codesize somewhat.
|
2018-10-17 22:04:02 +02:00 |
|