Commit graph

530 commits

Author SHA1 Message Date
Windel Bouwman
5dc63b9e8e Implement suggestion from clippy. 2019-07-17 09:36:11 +02:00
Windel Bouwman
de2e496e1f Add initial draft of symtable module. 2019-07-16 22:04:38 +02:00
Windel Bouwman
69c4d0b240 Simplify import AST in line with CPython. 2019-07-15 21:00:28 +02:00
Windel Bouwman
5e468baa16 Add a settings struct for storage of different settings which influence the VM. 2019-07-13 12:23:53 +02:00
Windel Bouwman
de5e71a9db Add optimize flag to ignore assert statements. 2019-07-12 18:41:25 +02:00
coolreader18
6c03386162 Add #![doc(html_logo_url = ...)] to crates 2019-07-08 23:57:18 -05:00
Aviv Palivoda
02c4064b85 Merge pull request #1112 from RustPython/parser-error-cleaning
parser error handling improvements.
2019-07-07 20:16:16 +03:00
Windel Bouwman
5973ef9a41 Merge pull request #1114 from mkurnikov/fix-clippy-1.36
Enable clippy in CI
2019-07-07 15:28:43 +02:00
Windel Bouwman
6e759ac5bc Set all versions to 0.1.0 2019-07-07 13:04:12 +02:00
Maxim Kurnikov
71cd8cad85 fix remaining clippy warnings 2019-07-07 06:27:07 +03:00
Windel Bouwman
888cb310e5 parser error handling improvements. 2019-07-06 20:18:18 +02:00
Aviv Palivoda
9f068a3146 Pass ParseError location to CompileError 2019-07-06 10:23:32 +03:00
Aviv Palivoda
f4a94903b3 Pass more information in user defined parse error 2019-07-05 11:01:49 +03:00
coolreader18
e14ac0ce39 Merge pull request #1096 from RustPython/underscore2hyphen
Underscore2hyphen
2019-07-03 10:16:03 -05:00
Maxim Kurnikov
313ffe6d6a Do not pollute stack when if-expression condition evaluated to False 2019-07-03 16:13:16 +03:00
Windel Bouwman
4396af76fb Change authors to team name. 2019-07-01 21:14:07 +02:00
Windel Bouwman
a8de4044b8 Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
6f063a402d Change get_row() into row() 2019-06-30 20:23:01 +02:00
Windel Bouwman
57b4d432ef Make bytecode crate independent of parser crate. 2019-06-30 11:42:36 +02:00
Windel Bouwman
134e6b2579 Move bytecode into own crate. 2019-06-30 11:01:40 +02:00
Aviv Palivoda
96e49f195d Calculate import level at parsing 2019-06-29 17:04:31 +03:00
coolreader18
a6808efab7 Revert "Make CodeObject.source_path an Option<String>" 2019-06-20 12:01:20 -05:00
coolreader18
d7b4837e26 Make CodeObject.source_path an Option<String> 2019-06-16 19:59:04 -05:00
coolreader18
8e3fdd7b36 Merge branch 'master' into coolreader18/comptime-pycompilation 2019-06-16 09:05:34 -05:00
coolreader18
71b3fca2ed Change imp_get_frozen_object 2019-06-14 11:31:39 -05:00
coolreader18
048ecf4871 Add py_compile_bytecode! macro 2019-06-14 10:42:45 -05:00
Aviv Palivoda
3a1dd34987 Improve compiler import 2019-06-14 08:45:30 +03:00
Aviv Palivoda
a932b729d8 Import all from_list in one __import__ call 2019-06-14 08:27:49 +03:00
coolreader18
e85f8b18df Add doc comments and individual compile functions 2019-06-12 22:04:59 -05:00
coolreader18
064919348d Split off bytecode compilation into a separate crate 2019-06-12 21:43:43 -05:00