Commit Graph

98 Commits

Author SHA1 Message Date
Jeong YunWon
cdc39701d8 Add PyBuiltinDescriptor for descriptors 2020-01-14 15:37:15 +09:00
coolreader18
098532b283 Remove proc-macro-hack and use our own slightly-less-hacky hack 2020-01-10 11:29:27 -06:00
Jeong YunWon
0aca07a8cb rustpython_vm::sequence & PySequenceContainer 2020-01-06 02:34:56 +09:00
coolreader18
777542f7ec Directly instantiate exceptions in the vm.new_*_error functions 2019-12-28 01:31:24 -06:00
Noah
cd726a2818 Cleanup exceptions a bit 2019-12-27 11:17:26 -06:00
yanganto
4c3642d19c Use enum for initialize parameters 2019-12-11 10:58:59 +08:00
Aviv Palivoda
a9c2f5f711 Add traceback object 2019-10-27 19:25:20 +02:00
Chris West (Faux)
f6d90123e5 print_exception can print to places that aren't stdout 2019-10-11 11:41:42 +01:00
Windel Bouwman
64ab147f64 Compress bytecode using LZ4 2019-10-07 20:54:22 +02:00
coolreader18
e61cbe7008 Update to work on Redox 2019-08-25 23:16:25 -05:00
Windel Bouwman
d06dec77ea Attempt to reduce the size of the pyobject.rs files by splitting out builtin types. 2019-08-14 19:08:47 +02:00
Aviv Palivoda
6ca979e7be Merge pull request #1159 from palaviv/freeze-stdlib
Allow stdlib freeze
2019-07-24 20:41:35 +03:00
Windel Bouwman
f7320cf545 Move Scope struct to its own file, making the frame module private in the process. 2019-07-23 20:39:47 +02:00
Aviv Palivoda
7226c925d2 Add hashmap macro to __exports 2019-07-20 22:25:46 +03:00
coolreader18
402eb8a48b Merge branch 'master' into redox 2019-07-13 11:46:43 -05: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
coolreader18
86a6b2a366 Use feature for proc_macro_hack 2019-07-13 00:59:18 -05:00
coolreader18
c899287cf1 Add vecdeque_rotate to features 2019-07-11 19:16:28 -05:00
coolreader18
e373ad25ae Make repl rudimentary 2019-07-11 19:01:52 -05:00
coolreader18
76dbd8ebb0 Remove proc-macro-hack 2019-07-11 18:40:07 -05:00
Windel Bouwman
8a46cdf95d Merge pull request #1121 from RustPython/coolreader18/docs-logo
Add #![doc(html_logo_url = ...)] to crates
2019-07-10 14:52:14 +02:00
coolreader18
0893076643 Add #![doc(html_logo_url = ...)] to crates 2019-07-08 23:57:18 -05:00
coolreader18
29e046f457 Add flamegraph profiling 2019-07-08 18:52:57 -05:00
Windel Bouwman
ef649be941 Add git information in sys and platform modules. 2019-07-06 17:00:03 +02:00
Windel Bouwman
bedbad284e Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
3954dbe716 Make parser and compiler optional features for vm crate. 2019-06-30 20:11:40 +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
coolreader18
61b26878de Add rustpython_vm::__exports module and fix warning 2019-06-21 20:20:19 -05:00
coolreader18
0ac42ac9aa Add convenience functions 2019-06-19 17:30:09 -05:00
coolreader18
a8d80193c7 Move PyObject serialization to its own file 2019-06-18 13:31:58 -05:00
Michel Heily
d74e126246 Add parser for C printf-style format strings
This commit is a part of a series of future commits that will resolve #1007 .
Code is based on vm/src/format.rs.
2019-06-17 19:35:09 +03:00
coolreader18
48966a76e2 Make py_compile_bytecode!() an expression 2019-06-14 18:20:02 -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
Aviv Palivoda
a38f205f0e Add support for frozen modules 2019-05-25 11:13:25 +03:00
coolreader18
15d2a3d318 Merge pull request #973 from sanxiyn/remove-extern-crate
Remove extern crate unneeded for Rust 2018
2019-05-13 23:51:37 -05:00
Seo Sanghyeon
189bf171ab Remove extern crate unneeded for Rust 2018 2019-05-14 12:24:44 +09:00
Jeong YunWon
2c77dc208f Add float.__hash__ 2019-05-13 01:09:51 +09:00
coolreader18
08babef619 Remove the __inside_vm hack for procedural macros 2019-04-15 20:24:16 -05:00
Windel Bouwman
b1a95f669f Initial version of symbol table builder. 2019-04-08 17:02:27 +02:00
Adam Kelly
b943f4a4bb Historic real proper dictionary support. 2019-04-05 09:50:31 +01:00
coolreader18
f11f04da70 Split rustpython_derive into multiple files 2019-03-30 18:43:31 -05:00
coolreader18
ff85838556 Add #[py_class] attribute proc macro 2019-03-29 00:16:34 -05:00
coolreader18
33b99b203f Some minor things 2019-03-19 20:34:35 -05:00
coolreader18
f78f558404 Fix clippy lints 2019-03-19 10:52:39 -05:00
Joey
18b57188ba Add a custom derive for FromArgs 2019-03-16 17:13:23 -07:00
Joey
7bfd2e6e84 Move function items out of pyobject module 2019-03-15 21:27:11 -07:00
Joey Hain
45bc8c8f7a Move PyRef to pyobject module 2019-03-10 13:01:46 -07:00
Joey Hain
3478251d40 Merge remote-tracking branch 'origin/master' into joey/fun-with-functions
Conflicts:
      vm/src/lib.rs
      vm/src/pyobject.rs
      wasm/lib/src/vm_class.rs
2019-03-02 04:04:22 -08:00