yanganto
|
7f45ed3cca
|
Provide caret diagnostics for SyntaxError
visualize syntax error with caret diagnostics in shell, eval, exec,
when the error statement and error location are provided.
|
2019-11-22 09:17:50 +08:00 |
|
coolreader18
|
1fcdbf74bc
|
Fix raw byte literals
|
2019-11-11 14:57:27 -06:00 |
|
Windel Bouwman
|
4ca49b4d79
|
Add some documentation strings to the parser code.
|
2019-10-12 21:58:27 +02:00 |
|
Windel Bouwman
|
336364c80d
|
Merge pull request #1318 from youknowone/ast-module
ast module
|
2019-10-12 12:51:26 +02:00 |
|
Jeong YunWon
|
2f1fb16da1
|
Add mode to ast::parse
|
2019-10-12 18:12:36 +09:00 |
|
Seo Sanghyeon
|
e76edde38e
|
Implement IndentationError
|
2019-10-12 02:24:12 +09:00 |
|
Windel Bouwman
|
82e8811fee
|
Merge pull request #1499 from HyeockJinKim/issue1498
Take only numbers after `.`
|
2019-10-11 17:39:54 +02:00 |
|
Seo Sanghyeon
|
97069c8605
|
Update lalrpop to 0.17
|
2019-10-11 15:50:15 +09:00 |
|
Chris West (Faux)
|
60bb597dc0
|
upgrade low-risk deps
|
2019-10-10 21:07:26 +01:00 |
|
Chris West (Faux)
|
45e4d6e9cd
|
upgrade regex to be consistent
|
2019-10-10 20:50:09 +01:00 |
|
HyeockJinKim
|
5c70631e9e
|
Take only numbers after .
Take only numbers not `_` after `.`
Fixes #1498
|
2019-10-10 17:24:14 +09:00 |
|
Seo Sanghyeon
|
f2e04c0e2f
|
Implement TabError
|
2019-10-05 10:12:02 +09:00 |
|
Seo Sanghyeon
|
3f1009ec2c
|
Disable a Clippy warning
|
2019-10-03 20:16:40 +09:00 |
|
Seo Sanghyeon
|
bdb6208f6f
|
Do not panic in parser
|
2019-10-03 19:41:12 +09:00 |
|
Windel Bouwman
|
188ff0ea73
|
Merge pull request #1430 from HyeockJinKim/issue1422
Generate SyntaxError at integer starting with 0
|
2019-09-28 21:08:06 +02:00 |
|
HyeockJinKim
|
c8d0f5c956
|
Generate SyntaxError at integer starting with 0
Generate syntaxError at integer starting with 0,
not zero
Fixes #1422
|
2019-09-29 01:12:07 +09:00 |
|
Windel Bouwman
|
215eefe0b7
|
Merge pull request #1407 from vazrupe/dup-kargs-error
Add duplicate keyword argument error
|
2019-09-27 10:06:35 +02:00 |
|
Vazrupe (HyeonGyu Lee)
|
21669a023b
|
Add duplicate keyword argument error
Fixes #116
|
2019-09-26 12:27:57 +09:00 |
|
Noah
|
d88167bb73
|
Bump crate versions
|
2019-09-25 11:57:38 -05:00 |
|
Noah
|
f73ea1cd00
|
impl fmt::Display for Tok
|
2019-09-13 11:08:43 +02:00 |
|
HyeonGyu Lee (Vazrupe)
|
0ab46fd2bd
|
Add Positional argument error to LexicalError
Fixes #1046
|
2019-09-13 01:46:31 +09:00 |
|
Windel Bouwman
|
19112cef49
|
Require at least finally or except on a try statement.
|
2019-08-19 09:00:08 +02:00 |
|
Windel Bouwman
|
3ed71308bf
|
Repair try-except-else syntax. Fixes #1300.
|
2019-08-19 08:37:07 +02:00 |
|
Windel Bouwman
|
d83cfb4cef
|
Merge pull request #1234 from RustPython/short-circuit-evaluation
Improve the situation regarding boolean operations.
|
2019-08-12 07:30:28 +02:00 |
|
Windel Bouwman
|
36d8147e8e
|
Improve the situation regarding boolean operations.
|
2019-08-11 20:20:15 +02:00 |
|
Windel Bouwman
|
dbc562c613
|
Implement clippy hint.
|
2019-08-11 09:57:40 +02:00 |
|
Windel Bouwman
|
a400f6631c
|
Improve lexing of numbers with underscores.
|
2019-08-11 09:29:21 +02:00 |
|
Windel Bouwman
|
fc8aba1b68
|
Merge pull request #1215 from RustPython/syntax-fixes
Add variable annotation syntax.
|
2019-08-09 11:22:55 +02: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
|
de89349d8d
|
Fix import syntax to require at least one imported symbol. Fixes #1211.
|
2019-08-07 13:00:34 +02:00 |
|
Windel Bouwman
|
6fc7027230
|
Merge pull request #1199 from RustPython/set-star-expr
Add star expression in set literals.
|
2019-08-04 19:47:34 +02:00 |
|
Windel Bouwman
|
19dd58cbad
|
Add star expression in set literals.
|
2019-08-02 20:55:37 +02:00 |
|
Windel Bouwman
|
b2d0729ca8
|
Fix lexing of 1else.
|
2019-08-02 19:08:59 +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
|
a06bd3ecea
|
Add an example usecase of the parser.
|
2019-07-24 20:13:30 +02:00 |
|
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 |
|