303 Commits

Author SHA1 Message Date
Noah
5f5d36cc74 Make parser no_std compatible 2021-01-14 12:48:52 -06:00
Noah
d375710650 Make compiler no_std compatible 2021-01-14 12:45:32 -06:00
Noah
abe9e2322e Remove extra ahash dep 2021-01-11 19:42:05 -06:00
Jeong YunWon
eb6edabfd3 Merge pull request #2397 from RustPython/coolreader18/fasthash
Use ahash instead of siphash in a few places
2021-01-11 01:37:12 +09:00
Noah
cbd229c754 Update cranelift deps 2021-01-08 18:47:54 -06:00
Noah
8cdef9e1fa Use ahash in the vm 2021-01-08 18:08:21 -06:00
Noah
77ab7628fe Upgrade lz4_flex + lalrpop 2021-01-08 17:22:42 -06:00
Noah
56c225c748 Use ahash/phf in parser 2021-01-08 17:09:09 -06:00
Noah
688880c540 Use ahash in the compiler 2021-01-08 17:00:23 -06:00
Noah
0fe96f16b0 Update Cargo.lock 2021-01-08 17:00:03 -06:00
Noah
75f9ea2f29 Update rand deps, replace statrs with puruspe 2021-01-07 23:44:45 -06:00
Noah
76306b2260 Add half-float support for struct 2021-01-07 23:44:44 -06:00
Noah
108e1ef38b Rework pystruct, again 2021-01-07 23:44:44 -06:00
Noah
5d6c323989 Merge pull request #2376 from RustPython/coolreader18/bytecode-crate-reorganize
Flatten rustpython_bytecode::bytecode into the root of the crate
2020-12-20 09:26:30 -06:00
Noah
a7363110ae Update lz4_flex version 2020-12-19 14:59:06 -06:00
Noah
96ae54ae5e Remove arr_macro dependency 2020-12-19 00:16:17 -06:00
Noah
2d246f0ce9 Merge pull request #2365 from RustPython/coolreader18/optimize-bytecode-format
Optimize the size of Instruction
2020-12-16 09:01:27 -06:00
Noah
60b2884afa Use lz4_flex instead of lz-fear 2020-12-14 14:25:19 -06:00
Noah
3280a1655a Optimize the size of Instruction 2020-12-14 14:25:19 -06:00
Noah
881b280c46 Fix compilation on redox 2020-12-14 12:12:44 -06:00
Tom Forbes
5788e7bf8e Refactor benchmarking suite to use Criterion 2020-12-11 00:28:22 +00:00
Noah
978260f5b5 Update dependencies 2020-12-05 17:51:10 -06:00
Noah
0fddb046dd Update cranelift dependencies 2020-12-05 16:36:37 -06:00
Noah
fafee7fe0d Use static_assertions to verify the safety of init_type_hierarchy 2020-11-21 00:33:05 -06:00
Noah
30b5fb22ef Use lz-fear to get streaming decompression for bytecode 2020-11-17 09:49:31 -06:00
Noah
70907babe6 Fix wasm + examples 2020-11-07 15:43:23 -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
Jeong YunWon
697d6eddcd Merge pull request #2294 from RustPython/coolreader18/pyobj-constants
Store PyObjectRef in CodeObject constants
2020-11-03 00:03:30 +09:00
Noah
72f8f20ab2 Move timing_safe_cmp to rustpython-common 2020-10-25 15:28:36 -05:00
Noah
df28c022e1 Use disassembly for snapshot testing 2020-10-19 23:55:56 -05:00
Noah
5176864aa9 Update rustpython_vm to differentiate between bytecode::CodeObject and builtins::code::CodeObject 2020-10-19 23:55:55 -05:00
Jeong YunWon
5b32064cd6 trait StaticType 2020-10-20 01:43:39 +09:00
Jeong YunWon
d54cfaf3f4 Keep source code order for module items 2020-10-19 18:21:04 +09:00
Noah
b0f9589471 Update dependencies 2020-10-16 20:49:00 -05:00
Noah
61ded76298 Merge pull request #2286 from youknowone/cargo-update
cargo update
2020-10-12 13:58:26 -05:00
Jeong YunWon
ba82e31c8d cargo update 2020-10-13 02:15:57 +09:00
Noah
e2bc53f625 Merge pull request #2239 from RustPython/coolreader18/unified-common-locks
Unified lock types for rustpython_common
2020-10-07 19:36:06 -05:00
Noah
a950aa6b7f Make serde_json an optional optimization for the json module 2020-09-28 23:45:53 -05:00
Noah
e0c626fdaf Make the not(threading) PyMutex based on a custom RawMutex 2020-09-26 23:39:04 -05:00
Noah
9f0f08b597 Move BorrowValue to rustpython-common, add BorrowedValue enum 2020-09-21 13:18:32 -05:00
Jeong YunWon
90768fffc2 update result-like 2020-09-19 21:27:56 -05:00
Noah
24acbc5e23 Update dependencies 2020-09-19 21:26:02 -05:00
Noah
5ffe136851 Have builtins.input() fall back to a simple readline if sys.stdin isn't actually stdin 2020-09-18 23:56:09 -05:00
Ben Lewis
f5082e4891 Add more jit tests, and utility to make testing it easier. 2020-09-18 18:59:58 +12:00
Ben Lewis
c54b4bb833 Split py_compile_bytecode into py_compile and py_freeze. 2020-09-18 18:59:58 +12:00
Noah
50e19037fd Fix lalrpop semver error 2020-09-08 19:59:22 -05:00
Noah
26638e4e3e Merge pull request #2177 from RustPython/coolreader18/windows-binaryio
Fix test_calendar tests
2020-09-02 12:22:59 -05:00
Noah
717784d38a Fix test_calendar tests 2020-09-01 15:21:29 -05:00
Ben Lewis
b79d7edb29 Fix not type checking arguments to jit function. 2020-08-31 20:19:36 +12:00