Jeong YunWon
|
f35284cc67
|
Handle error control flow in single branch
|
2021-10-18 15:36:52 +09:00 |
|
Noa
|
0093a1948f
|
Don't compile badsyntax_ files for freeze-stdlib
|
2021-10-17 21:55:34 -05:00 |
|
Jeong YunWon
|
7dd6891c6b
|
clean up imports
|
2021-10-04 13:49:58 +09:00 |
|
Jeong YunWon
|
5b073154c3
|
Defer conversion to Diagnostic as much as possible
|
2021-10-04 13:49:58 +09:00 |
|
Noah
|
353183dc79
|
Don't check git for symlinks
Co-authored-by: Jesse Hoobergs <jhoobergs@users.noreply.github.com>
|
2021-05-01 23:25:04 -05:00 |
|
Noah
|
55884f99b9
|
Fix thanks to @jhoobergs
Co-authored-by: Jesse Hoobergs <jhoobergs@users.noreply.github.com>
|
2021-05-01 23:23:45 -05:00 |
|
Noah
|
936826bd44
|
Replace symlinks-to-hardlinks.ps1 hack with a nicer hack
|
2021-05-01 23:23:45 -05:00 |
|
Eric van der Toorn
|
029a3cb45d
|
add some comments in derive
|
2021-03-29 15:20:50 +02:00 |
|
Noah
|
58503cb0fa
|
Serialize entire frozen hashmap to bytes
|
2021-01-29 00:46:51 -06:00 |
|
Noah
|
a5d45124fd
|
Update other stuff to use the root of rustpython_bytecode
|
2020-12-19 14:59:07 -06:00 |
|
Noah
|
4528f17210
|
compiler/porcelain wrapper
|
2020-11-07 15:43:23 -06:00 |
|
Noah
|
b3851c8eb8
|
Split the ast from the parser, remove compiler dep on parser
|
2020-11-07 15:43:23 -06:00 |
|
Ben Lewis
|
c54b4bb833
|
Split py_compile_bytecode into py_compile and py_freeze.
|
2020-09-18 18:59:58 +12:00 |
|
Noah
|
d7bc12114d
|
Get rid of proc-macro-hacky stuff for py_compile_bytecode
|
2020-08-03 13:20:04 -05:00 |
|
Noah
|
a9058f0a0c
|
Add a separate crate to package the python stdlib source code with
|
2020-06-24 20:30:22 -05:00 |
|
Noah
|
80f11466b3
|
Add "incognito" compilation
|
2020-04-03 12:34:00 -05:00 |
|
Jeong YunWon
|
7d0d313aa5
|
&str::to_string -> &str::to_owned for variables
|
2020-02-05 22:55:34 +09:00 |
|
Jeong YunWon
|
1bac582921
|
&str::to_string -> &str::to_owned for literals
|
2020-02-05 22:55:33 +09:00 |
|
Daniel Alley
|
e5cac96511
|
Replace lazy_static! macro with once_cell
|
2020-01-27 01:05:53 -05:00 |
|
coolreader18
|
44ed27e8e7
|
Update to newest syn
|
2020-01-14 23:22:49 -06:00 |
|
coolreader18
|
b29707cda4
|
Say what file failed to compile in py_compile_bytecode
|
2020-01-13 19:56:18 -06:00 |
|
Noah
|
468f7ba42a
|
Clarify that the compile error is for python code in py_compile_bytecode
|
2020-01-13 11:41:20 -06:00 |
|
Jeong YunWon
|
c1306726c4
|
Fix clippy warnings
|
2019-12-21 18:49:48 +09:00 |
|
Windel Bouwman
|
64ab147f64
|
Compress bytecode using LZ4
|
2019-10-07 20:54:22 +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 |
|
coolreader18
|
a72ef1e365
|
Add frozen package support
|
2019-07-27 14:27:29 -05:00 |
|
Aviv Palivoda
|
0a6253593f
|
Change compile_dir path to &Path
|
2019-07-22 18:02:57 +03:00 |
|
Aviv Palivoda
|
64f102450b
|
Fix clippy warning
|
2019-07-22 17:58:33 +03:00 |
|
Aviv Palivoda
|
7226c925d2
|
Add hashmap macro to __exports
|
2019-07-20 22:25:46 +03:00 |
|
Aviv Palivoda
|
c480449420
|
Fix clippy comments
|
2019-07-20 22:09:24 +03:00 |
|
Aviv Palivoda
|
5c240d71a8
|
Support freezing of stdlib
|
2019-07-20 18:06:46 +03:00 |
|
Aviv Palivoda
|
f271a0e5cf
|
Change py_compile_bytecode to return map
|
2019-07-20 12:23:56 +03: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 |
|
Maxim Kurnikov
|
347d48198e
|
fix remaining clippy warnings
|
2019-07-07 06:27:07 +03:00 |
|
Windel Bouwman
|
183415e64b
|
Move bytecode into own crate.
|
2019-06-30 11:01:40 +02:00 |
|
coolreader18
|
61b26878de
|
Add rustpython_vm::__exports module and fix warning
|
2019-06-21 20:20:19 -05:00 |
|
coolreader18
|
c359c430c2
|
Add set_file_attr to import_codeobj
|
2019-06-20 22:43:13 -05:00 |
|
coolreader18
|
aefbae40e4
|
Revert "Make CodeObject.source_path an Option<String>"
|
2019-06-20 12:01:20 -05:00 |
|
coolreader18
|
b74b65d37e
|
Make CodeObject.source_path an Option<String>
|
2019-06-16 19:59:04 -05:00 |
|
coolreader18
|
1814977c45
|
Add doc comments
|
2019-06-15 20:19:59 -05:00 |
|
coolreader18
|
75c2e4ae9b
|
Remove lazy_static, just store as a CodeObject
|
2019-06-15 11:31:30 -05:00 |
|
coolreader18
|
241f5190cc
|
Formatting
|
2019-06-15 00:30:14 -05:00 |
|
coolreader18
|
b5ba62fe94
|
Add lazy_static argument
|
2019-06-14 21:17:12 -05:00 |
|
coolreader18
|
48966a76e2
|
Make py_compile_bytecode!() an expression
|
2019-06-14 18:20:02 -05:00 |
|
coolreader18
|
4d0eb06724
|
Default source_path
|
2019-06-14 12:40:01 -05:00 |
|
coolreader18
|
d2cde9a3bf
|
Use bincode to deserialize into a CodeObject
|
2019-06-14 12:26:35 -05:00 |
|
coolreader18
|
e592f3d888
|
Add py_compile_bytecode! macro
|
2019-06-14 10:42:45 -05:00 |
|