coolreader18
|
0f4a80eec9
|
Compile docstrings for modules
|
2019-08-15 22:25:30 -05:00 |
|
coolreader18
|
5499d81d7a
|
Address feedback, simplify compilation code
|
2019-08-15 15:52:30 -05:00 |
|
coolreader18
|
fe84f25fad
|
Fix weirdness with import submodules
|
2019-08-15 15:30:14 -05:00 |
|
Windel Bouwman
|
49ed782098
|
Merge pull request #1245 from RustPython/symbol-context
Improve symbol table processing.
|
2019-08-14 17:47:40 +02:00 |
|
coolreader18
|
2fb05d53e8
|
Fix errors
|
2019-08-13 23:04:32 -05:00 |
|
Windel Bouwman
|
e6edf71b33
|
Improve symbol table processing.
|
2019-08-13 21:13:16 +02:00 |
|
coolreader18
|
286051383e
|
impl std::str::FromStr for compile::Mode
|
2019-08-13 12:35:07 -05:00 |
|
coolreader18
|
4f9a71ff89
|
Change compile::compile() to take a Mode instead of an &Mode
|
2019-08-13 12:34:39 -05:00 |
|
Windel Bouwman
|
752ac1df51
|
Merge pull request #1232 from corona10/gh-1212
gh-1212: Fix scope_for_name to catch NameError properly
|
2019-08-12 07:32:02 +02:00 |
|
Dong-hee Na
|
6df3800055
|
Fix scope_for_name to catch NameError properly
|
2019-08-12 10:19:31 +09:00 |
|
Windel Bouwman
|
36d8147e8e
|
Improve the situation regarding boolean operations.
|
2019-08-11 20:20:15 +02:00 |
|
Noah
|
fb5ebea389
|
Revert "Fix compilation of nested boolean operations"
|
2019-08-11 12:29:10 -05:00 |
|
coolreader18
|
0e77f0e654
|
Fix compilation of nested boolean operations
|
2019-08-09 21:36:42 -05:00 |
|
Windel Bouwman
|
fc8aba1b68
|
Merge pull request #1215 from RustPython/syntax-fixes
Add variable annotation syntax.
|
2019-08-09 11:22:55 +02:00 |
|
coolreader18
|
8f28149f67
|
Address comments
|
2019-08-07 14:40:16 -05: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
|
c5e7fbab11
|
Properly fill the __annotations__ dictionary.
|
2019-08-07 16:13:12 +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 |
|
coolreader18
|
772460ea7f
|
Add tuple unpacking optimization
|
2019-08-04 01:22:51 -05:00 |
|
coolreader18
|
b48f0c2a8b
|
Fix label issue
|
2019-08-03 23:58:59 -05:00 |
|
coolreader18
|
496c5c82f2
|
Add constant optimization test
|
2019-08-03 22:44:36 -05:00 |
|
coolreader18
|
ba6758035f
|
Make peephole optimizer a stream processor
|
2019-08-03 22:02:29 -05:00 |
|
coolreader18
|
056a116024
|
Add basic constant optimization to the compiler
|
2019-08-02 23:53:46 -05:00 |
|
Windel Bouwman
|
1fddce461f
|
Implement review comments and improve parsing a bit.
|
2019-07-25 23:54:31 +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
|
8101f423df
|
Merge pull request #1153 from RustPython/ast-module
Add initial draft of symtable module.
|
2019-07-20 09:07:05 +02:00 |
|
Windel Bouwman
|
f919ed0137
|
Extend symtable module.
|
2019-07-19 22:05:35 +02:00 |
|
Windel Bouwman
|
ce1523c142
|
Fix panic on import statement with levels but no module name.
|
2019-07-19 17:31:57 +02:00 |
|
Windel Bouwman
|
ae018d579b
|
Implement suggestion from clippy.
|
2019-07-17 09:36:11 +02:00 |
|
Windel Bouwman
|
215308d474
|
Add initial draft of symtable module.
|
2019-07-16 22:04:38 +02:00 |
|
Windel Bouwman
|
0741c36bb8
|
Simplify import AST in line with CPython.
|
2019-07-15 21:00:28 +02:00 |
|
Windel Bouwman
|
ac765a957b
|
Add a settings struct for storage of different settings which influence the VM.
|
2019-07-13 12:23:53 +02:00 |
|
Windel Bouwman
|
704b15750e
|
Add optimize flag to ignore assert statements.
|
2019-07-12 18:41:25 +02:00 |
|
coolreader18
|
0893076643
|
Add #![doc(html_logo_url = ...)] to crates
|
2019-07-08 23:57:18 -05: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 |
|
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 |
|
coolreader18
|
6b018a0b8b
|
Merge pull request #1096 from RustPython/underscore2hyphen
Underscore2hyphen
|
2019-07-03 10:16:03 -05:00 |
|
Maxim Kurnikov
|
8162b87a00
|
Do not pollute stack when if-expression condition evaluated to False
|
2019-07-03 16:13:16 +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 |
|
Windel Bouwman
|
e40c844be7
|
Make bytecode crate independent of parser crate.
|
2019-06-30 11:42:36 +02:00 |
|
Windel Bouwman
|
183415e64b
|
Move bytecode into own crate.
|
2019-06-30 11:01:40 +02:00 |
|
Aviv Palivoda
|
0d8d2e3beb
|
Calculate import level at parsing
|
2019-06-29 17:04:31 +03:00 |
|
coolreader18
|
aefbae40e4
|
Revert "Make CodeObject.source_path an Option<String>"
|
2019-06-20 12:01:20 -05:00 |
|