Commit Graph
278 Commits
Author SHA1 Message Date
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
Jeong YunWon 9f77799fa0 Merge pull request #2160 from RustPython/coolreader18/siphasher24
Use siphash24 + PYTHONHASHSEED
2020-08-29 01:31:10 +09:00
Ben Lewis c3f18a306e Use libffi to call jitted functions. 2020-08-28 19:52:04 +12:00
Noah 72123c65ec Use siphash24 + PYTHONHASHSEED 2020-08-27 20:47:47 -05:00
Noah 7a6ce8c338 Update timsort 2020-08-26 23:31:14 -05:00
Noah edb9df8071 Use timsort for the list sort algorithm 2020-08-26 21:49:44 -05:00
Noah 9598392aea Allow floats in jitted functions (#2150) 2020-08-26 08:36:56 -05:00
Ben Lewis c773d9f214 Use OnceCell to hold the jitted code. 2020-08-25 07:16:58 +12:00
Ben Lewis bf221bf408 Handle first couple of bytecode instructions in jit. 2020-08-25 07:16:58 +12:00
Ben Lewis b2ab9d9bdf Initial jit prototype. 2020-08-25 07:16:58 +12:00
Noah d912fdef41 Use async/await for wasm-bindgen-futures stuff 2020-08-23 21:23:31 -05:00
Noah 1e952e10b9 Update cpython dev-dependency and clean up bench.rs 2020-08-23 21:00:13 -05:00
Noah cbeb87ef0b Update dependencies 2020-08-23 20:39:53 -05:00
Jeong YunWon fd3aba5033 doc using syn-ext 2020-08-23 19:39:28 +09:00
Jeong YunWon 2458307dc3 rewrite pyclass 2020-08-23 18:30:14 +09:00
Jeong YunWon d422de6f00 Rework derive and rewrite pymodule.rs 2020-08-23 18:24:46 +09:00
Noah 794c91be6e Remove generational-arena dependency 2020-08-22 16:27:00 -05:00
Noah 4d8ffc70ad Just use normal Box for PyNativeFunc 2020-08-22 16:18:26 -05:00
Noah 076bab9f15 Use a thread local variable for ReprGuard 2020-08-11 11:06:06 -05:00
Jeong YunWon 7f3fa70d10 clean up PyComplex 2020-08-09 21:46:16 +09:00
Noah dd8e9a6508 Use pylib as a dependency of the rustpython binary in order to get a Lib path 2020-08-03 13:20:06 -05:00
Noah 2f77be17d8 Don't put the freeze example as a workspace member 2020-07-27 18:47:09 -05:00
Noah 2bc2d1721e Update itertools 2020-07-26 15:21:39 -05:00
Noah fcad7e0091 Use lz4-compression instead of lz4-compress 2020-07-26 15:21:39 -05:00
Noah ab232e6cd8 Use lexical-core instead of lexical 2020-07-26 15:21:38 -05:00
Noah 861532990d Update lalrpop 2020-07-26 15:21:38 -05:00