201 Commits

Author SHA1 Message Date
Windel Bouwman
cc24b73031 Set all versions to 0.1.0 2019-07-07 13:04:12 +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
Windel Bouwman
6a58b76ef7 Change authors to team name. 2019-07-01 21:14:07 +02:00
Windel Bouwman
bedbad284e Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
f816a50110 Change get_row() into row() 2019-06-30 20:23:01 +02:00
Aviv Palivoda
0d8d2e3beb Calculate import level at parsing 2019-06-29 17:04:31 +03:00
Windel Bouwman
30979d9f27 Merge pull request #1043 from yanganto/feat/unicode-iterals
support unicode literal
2019-06-19 19:13:13 +02:00
Antonio Yang
974dc683e4 support unicode literal
- support unicode literal \x with 2 digits
- support unicode literal \u with 4 digits
- support unicode literal \U with 8 digits
- avoid to parse \x as unicode literal in bytes
2019-06-20 00:30:38 +08:00
Aviv Palivoda
12a3028806 Import all from_list in one __import__ call 2019-06-14 08:27:49 +03:00
Windel Bouwman
aa6b155e1e Merge branch 'master' of https://github.com/RustPython/RustPython into walrus 2019-06-09 11:49:02 +02:00
Windel Bouwman
9d9fcfc034 Removal of walrus operator. 2019-06-08 16:38:15 +02:00
Windel Bouwman
9592e94920 Isolate determination of indentation into seperate method. 2019-06-08 16:23:51 +02:00
Maxim Kurnikov
bc35a64e54 fix most of clippy warnings 2019-06-01 03:19:22 +03:00
Daniel Shaulov
bd89c4e32b Reformat with rustfmt 2019-05-27 22:19:07 +03:00
Daniel Shaulov
b2f17a18ea Add support for marshal with loads and dumps 2019-05-27 22:09:47 +03:00
Windel Bouwman
b8c788197e Add walrus operator to lexer and try to make lexer code cleaner. 2019-05-12 22:35:28 +02:00
Jeong YunWon
e12c6813ef Add dict unpacking support for literal 2019-05-07 04:42:58 +09:00
Windel Bouwman
e1bdae000c Merge pull request #904 from RustPython/async-stuff
Add async def and async for parsing.
2019-05-05 21:16:29 +02: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
1247a35be9 Improve handling of lexical errors. 2019-05-01 21:05:21 +02:00
jgirardet
eb2d0b01ee refactor lex byte 2019-04-18 08:06:06 +02:00
Jimmy Girardet
9c57ae4046 support bytes creation from hex and ascii 2019-04-17 15:28:14 +02:00
ben
1f8181b561 Update formatting to be consistent with rustfmt included in 1.34 2019-04-14 09:40:59 +12:00
Windel Bouwman
58a393f047 Merge pull request #804 from jgirardet/refactore_bytes
refactor bytes
2019-04-11 08:20:01 +02:00
Jimmy Girardet
54c7335f1c SyntaxError for non ascii char 2019-04-10 18:05:28 +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
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
Windel Bouwman
73cd680d8d Add support for trailing comma in function defs. Parser code simplications. 2019-03-28 17:50:41 +01:00
Adrian Wielgosik
40dd75d513 Upgrade lalrpop 2019-03-27 18:55:08 +01:00
Windel Bouwman
ca11e7dea7 Add support for emoji as name. 2019-03-24 20:16:38 +01:00
Windel Bouwman
d0c4fcb2fa Doing what is needed for all our non-latin friends. 2019-03-24 13:14:38 +01:00
coolreader18
e35cc813a8 Rename to Unnamed and Named 2019-03-20 08:59:37 -05:00
coolreader18
b7916cdb53 Fix varargs errors 2019-03-19 22:15:09 -05: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
Ryan Liddle
b7c03b4be5 Merge pull request #601 from RustPython/ellipsis
Add ellipsis syntax.
2019-03-05 18:30:44 +11:00
Windel Bouwman
05929b3d7b Add ellipsis type, test and do rustfmt. 2019-03-05 07:19:00 +01:00
Windel Bouwman
a26401707f Minor lexer simplifications. 2019-03-04 21:25:35 +01: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
coolreader18
c99e843769 Fix a clippy lint I missed 2019-03-01 20:13:50 -06:00