Windel Bouwman
255b744217
Minor tweak on lexer to fix the REPL.
2019-07-21 22:11:37 +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
ccd7d8960d
Suppress clippy warning.
2019-07-20 21:25:11 +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
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
coolreader18
0893076643
Add #![doc(html_logo_url = ...)] to crates
2019-07-08 23:57:18 -05: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
Aviv Palivoda
e4322f52a9
Merge pull request #1112 from RustPython/parser-error-cleaning
...
parser error handling improvements.
2019-07-07 20:16:16 +03:00
Windel Bouwman
dbc263cc1b
Merge pull request #1114 from mkurnikov/fix-clippy-1.36
...
Enable clippy in CI
2019-07-07 15:28:43 +02:00
Windel Bouwman
cc24b73031
Set all versions to 0.1.0
2019-07-07 13:04:12 +02:00
Windel Bouwman
7e138eca3b
Improve f-string syntax. Fixes #1099
2019-07-07 12:04:43 +02:00
Maxim Kurnikov
347d48198e
fix remaining clippy warnings
2019-07-07 06:27:07 +03: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
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