Commit Graph
6458 Commits
Author SHA1 Message Date
Ben Lewis b58bd8650e Merge pull request #2153 from skinny121/use-libffi
Use libffi to call jitted functions.
2020-08-28 20:38:15 +12:00
Ben Lewis fca23276e0 Add documentation to README.md, and install required dependencies on ci. 2020-08-28 19:52:04 +12:00
Ben Lewis c3f18a306e Use libffi to call jitted functions. 2020-08-28 19:52:04 +12:00
Noah 343c40c939 Merge pull request #2162 from edwardycl/fix
Fix minor things
2020-08-27 23:19:33 -05:00
Youngchan Lee 5b446333b1 Fix minor things 2020-08-28 11:17:38 +09:00
Ben Lewis c149ae73d5 Merge pull request #2158 from skinny121/fix-clippy-warning
Fix clippy warning
2020-08-28 08:25:38 +12:00
Ben Lewis 3c3711c6fc Fix clippy warning 2020-08-28 07:43:18 +12:00
Jeong YunWon bb6dc785b5 Merge pull request #2152 from RustPython/coolreader18/stable-sort 2020-08-28 00:13:25 +09:00
Noah 7a6ce8c338 Update timsort 2020-08-26 23:31:14 -05:00
Noah 1149de294f Fix max+test_max 2020-08-26 22:33:11 -05:00
Noah defcbb821c Skip unsupported sort tests 2020-08-26 21:50:23 -05:00
Noah 2a180af0ab Add test.test_sort from CPython 3.8.3 2020-08-26 21:50:01 -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
Jeong YunWon 358b4b159d Merge pull request #2148 from youknowone/windows-ci
Windows CI
2020-08-26 17:37:39 +09:00
Jeong YunWon 85724006e2 Windows CI 2020-08-26 14:29:03 +09:00
Youngchan Lee 57fbce9d31 Handle TypeErrors in bytes() & bytearray() 2020-08-26 14:11:50 +09:00
Ben Lewis 989a7ae051 Merge pull request #2142 from skinny121/jit
Proof of concept JIT compiler
2020-08-25 17:24:05 +12:00
Ben Lewis 73f23b8dee Rename JIT to Jit 2020-08-25 07:18:46 +12:00
Ben LewisandNoah 93bbf19fd4 Fix specifying multiple features in test_snippets.py
Co-authored-by: Noah <33094578+coolreader18@users.noreply.github.com>
2020-08-25 07:16:59 +12:00
Ben Lewis 7a4acdf40f Move cfg onto __jit__ method. 2020-08-25 07:16:58 +12:00
Ben Lewis 3e0673fe00 Fix ci features argument. 2020-08-25 07:16:58 +12:00
Ben Lewis e70b2db78d Add jit feature when running tests, and run rustfmt. 2020-08-25 07:16:58 +12:00
Ben Lewis c773d9f214 Use OnceCell to hold the jitted code. 2020-08-25 07:16:58 +12:00
Ben Lewis 4bdae47eb3 Make jit optional by adding a 'jit' feature. 2020-08-25 07:16:58 +12:00
Ben Lewis cfb8018a4f Add jit test. 2020-08-25 07:16:58 +12:00
Ben Lewis c5c6a2c21d Add support for a few more bytecode instructions. 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
Jeong YunWon 809816cc23 Merge pull request #2145 from RustPython/coolreader18/update-deps
Update deps
2020-08-24 16:53:33 +09:00
Jeong YunWon 888f9c0820 Merge pull request #2097 from hyperbora/dev
Corrected the problem of mishandling optional kwarg in max function
2020-08-24 16:48:37 +09: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
Noah e8f9145f24 Merge pull request #2144 from youknowone/new-lookup
call_tp_new uses single iterator
2020-08-23 19:00:51 -05:00
hyperbora e9ee1ba4a0 Corrected the problem of mishandling optional kwarg in max function 2020-08-24 01:01:41 +09:00
Jeong YunWon b5275206bd Merge pull request #2143 from youknowone/type-clone
Remove type clone functions from vm.ctx
2020-08-24 00:13:28 +09:00
Jeong YunWon b683823290 call_tp_new uses single iterator 2020-08-23 20:46:25 +09:00
Jeong YunWon 5ca7ec7d2e Fix weakref type name 2020-08-23 20:28:15 +09:00
Jeong YunWon f8a5cc4b23 Remove type clone functions from vm.ctx
which misleads to clone types when we don't need.
2020-08-23 20:26:37 +09:00
Jeong YunWon 5fd934d561 Merge pull request #2120 from youknowone/derive
Rework derive
2020-08-23 20:23:10 +09:00
Jeong YunWon fd3aba5033 doc using syn-ext 2020-08-23 19:39:28 +09:00
Jeong YunWon dded3ffc53 Remove redundant clone from new_class 2020-08-23 19:10:46 +09:00
Jeong YunWon 0b59f20d96 pystruct_sequence uses make_class_with_base 2020-08-23 19:10:46 +09:00
Jeong YunWon df5948e2db fixup pyclass 2020-08-23 19:10:46 +09:00
Jeong YunWon 5edaf12d2a pyclass_ident_and_attrs 2020-08-23 18:37:43 +09:00
Jeong YunWon 29dc4dabbb multiple error tracking 2020-08-23 18:30:14 +09:00
Jeong YunWon 2458307dc3 rewrite pyclass 2020-08-23 18:30:14 +09:00
Jeong YunWon e4fa05ae70 attrs replacement technique 2020-08-23 18:24:46 +09:00
Jeong YunWon 8d46a96068 use meta item rather than parent name 2020-08-23 18:24:46 +09:00