Commit Graph

112 Commits

Author SHA1 Message Date
Windel Bouwman
4e1fea62c5 Merge pull request #1200 from RustPython/coolreader18/compiler-optimization
Add basic constant optimization to the compiler
2019-08-09 07:03:38 +02:00
Aviv Palivoda
6486780025 Add subprocess module 2019-08-08 17:32:24 +03:00
Aviv Palivoda
d63839a5ea Merge pull request #1205 from Lynskylate/impl-socket-module
Extend Socket module
2019-08-08 17:30:02 +03:00
lynskylate
c9c580d2fe Add inet_ntoa and windows gethostname 2019-08-07 01:28:17 +08:00
coolreader18
ba6758035f Make peephole optimizer a stream processor 2019-08-03 22:02:29 -05:00
coolreader18
d44a208da9 Fix redox with new os functions 2019-08-03 17:13:32 -05:00
Aviv Palivoda
52d204c6d3 Fix clippy warnings 2019-08-02 10:40:49 +03:00
Aviv Palivoda
61bf0763dd User arr_macro to create triggers array 2019-08-02 09:46:19 +03:00
Marcin Pajkowski
53c653fd2b Implement several methods - os module
os.getpid  [RUST STD]
os.getegid [UNIX]
os.getgid  [UNIX]
os.getsid  [UNIX]
os.getuid  [UNIX]
os.geteuid [UNIX]
os.getppid [UNIX]
os.getpgid [UNIX]
os.setgid  [UNIX]
os.setegid [UNIX]
os.setpgid [UNIX]
os.setuid  [UNIX]
os.seteuid [UNIX]
2019-07-30 18:15:33 +02:00
Aviv Palivoda
5c240d71a8 Support freezing of stdlib 2019-07-20 18:06:46 +03: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
coolreader18
97c9b2316e Update Dockerfile.wasm 2019-07-18 10:49:05 -05:00
coolreader18
f59d84a750 Add codecs, locale, shutil, errno, and encodings modules 2019-07-14 23:09:59 -05:00
coolreader18
86a6b2a366 Use feature for proc_macro_hack 2019-07-13 00:59:18 -05:00
coolreader18
dd11780877 Fix num-* crates 2019-07-12 11:45:27 -05:00
coolreader18
53cc56820b Revert unnecesarily change Cargo.lock entries 2019-07-11 19:15:27 -05:00
coolreader18
e373ad25ae Make repl rudimentary 2019-07-11 19:01:52 -05:00
coolreader18
2c65988ea7 Switch to hexf_parse 2019-07-11 18:53:47 -05:00
coolreader18
80aedd65c9 Remove more proc-macro-hack 2019-07-11 18:43:37 -05:00
coolreader18
76dbd8ebb0 Remove proc-macro-hack 2019-07-11 18:40:07 -05:00
coolreader18
8e06a30051 Update to flamescope 0.1.1 2019-07-10 13:14:02 -05:00
coolreader18
ecdbe0408b Add profiling using flamescope/speedscope 2019-07-10 13:14:01 -05:00
Windel Bouwman
0ab39651b8 Add time.gmtime function. 2019-07-10 16:12:30 +02:00
coolreader18
29e046f457 Add flamegraph profiling 2019-07-08 18:52:57 -05:00
Windel Bouwman
e45dfc6f51 Published unicode-casing to crates.io 2019-07-07 20:28:25 +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
cc24b73031 Set all versions to 0.1.0 2019-07-07 13:04:12 +02:00
Windel Bouwman
97f982530a parser error handling improvements. 2019-07-06 20:18:18 +02:00
Windel Bouwman
bedbad284e Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
4a108c1ef5 Merge pull request #1059 from RustPython/unicodedata
Add initial unicodedata module.
2019-07-01 20:44:14 +02:00
Windel Bouwman
13be2cf3f4 Merge master branch 2019-06-30 21:22:33 +02:00
Windel Bouwman
3954dbe716 Make parser and compiler optional features for vm crate. 2019-06-30 20:11:40 +02:00
Windel Bouwman
f1d250b10a Merge branch 'master' of https://github.com/RustPython/RustPython into bytecode-crate 2019-06-30 11:42:47 +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
Windel Bouwman
7ab5d53642 update to newer version of DynDigest trait which allows clone. 2019-06-30 10:10:17 +02:00
Windel Bouwman
f4d63c923a Switch to better supported crypto lib. 2019-06-29 14:03:19 +02:00
Windel Bouwman
4db83aca7f Add initial unicodedata module. 2019-06-26 13:41:58 +02:00
coolreader18
ba8b733139 Merge pull request #1044 from RustPython/coolreader18/ser_de-own-module
Move PyObject de/serialization to its own module
2019-06-20 23:44:13 -05:00
coolreader18
86b8c07581 Update Cargo.lock 2019-06-19 20:03:31 -05:00
coolreader18
9ac854aea5 Use serde_wasm_bindgen for wasm ser/de 2019-06-18 14:32:34 -05:00
coolreader18
743adf10de Merge branch 'master' into coolreader18/comptime-pycompilation 2019-06-16 09:05:34 -05:00
Aviv Palivoda
82f83ef345 Support more open flags 2019-06-15 16:22:51 +03:00
coolreader18
48966a76e2 Make py_compile_bytecode!() an expression 2019-06-14 18:20:02 -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
coolreader18
45bb2bd263 Split off bytecode compilation into a separate crate 2019-06-12 21:43:43 -05:00
coolreader18
07c6a90045 Update cargo dependencies 2019-06-11 16:00:35 -05:00
stwen77
e9f3f4b89a Merge branch 'master' into binascii 2019-05-31 14:22:42 +08:00