Commit Graph

40 Commits

Author SHA1 Message Date
Kangzhi Shi
9a2eef6fab fix compile 2021-11-27 13:49:05 +02:00
Jeong YunWon
256de1eb46 Move free functions in vm::exceptions to vm methods 2021-10-13 05:53:43 +09:00
Jeong YunWon
5cd375aaa9 clean up functions and methods 2021-10-11 16:10:01 +09:00
Jeong YunWon
cb9bfce007 clean up use statements 2021-09-26 04:05:53 +09:00
Christoph Herzog
bca704ed99 Examples Wording Issue - relative <=> relevant
Just a simple drive-by fix for the wording in the freeze example
2021-09-09 13:53:46 +02:00
Noah
99104faaf7 Re-export pyobject::* from the root of the crate 2021-05-20 10:24:07 -05:00
Noah
da6332475b Merge pull request #2403 from RustPython/coolreader18/bincode-libmap
Serialize entire frozen hashmap to bytes
2021-01-29 02:18:13 -06:00
Noah
58503cb0fa Serialize entire frozen hashmap to bytes 2021-01-29 00:46:51 -06:00
Noah
bcf58d9091 Misc fixes 2021-01-14 12:37:37 -06:00
Noah
a4aef93327 Make all builtin functions have names 2020-12-17 16:29:43 -06:00
Noah
b30ca99a09 Implement string interning 2020-11-08 21:35:04 -06:00
Noah
70907babe6 Fix wasm + examples 2020-11-07 15:43:23 -06:00
Noah
e74a8ec9fb Fix mini_repl and make ctx.new_code_object() more ergonomic 2020-10-19 23:55:55 -05:00
Jeong YunWon
ca9326f95d expose bulitins items on builtins module and hide submodules 2020-10-12 11:43:24 +09:00
Jeong YunWon
9e6dfca9e9 Fix build with new builtins path 2020-10-11 21:16:16 +09:00
Ben Lewis
c54b4bb833 Split py_compile_bytecode into py_compile and py_freeze. 2020-09-18 18:59:58 +12:00
Noah
18273da108 Interpreter struct for managing thread-local vm stack 2020-09-15 16:44:39 -05: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
1249fab930 Merge pull request #2035 from youknowone/dictkey
Refactor DictKey
2020-08-04 02:45:05 +09:00
Jeong YunWon
67b5d61d1f Refactor DictKey 2020-08-04 02:12:56 +09:00
Noah
ba8c0d9a82 Use sys.excepthook when exceptions bubble to the top level 2020-08-02 12:23:12 -05:00
Noah
2f77be17d8 Don't put the freeze example as a workspace member 2020-07-27 18:47:09 -05:00
Noah
bc1717b7ac Release 0.1.2
rustpython@0.1.2
rustpython-bytecode@0.1.2
rustpython-compiler@0.1.2
rustpython-derive@0.1.2
rustpython-parser@0.1.2
rustpython-vm@0.1.2
rustpython_freeze@0.1.2
rustpython_wasm@0.1.2

Generated by cargo-workspaces
2020-06-23 18:47:08 -05:00
Aviv Palivoda
3eaa8307a1 Make mini_repl thread safe 2020-04-29 12:44:15 +03:00
Noah
80f11466b3 Add "incognito" compilation 2020-04-03 12:34:00 -05:00
Aviv Palivoda
81093bb6f4 Move freeze example to examples folder 2020-03-06 10:05:47 +02:00
Jeong YunWon
1bac582921 &str::to_string -> &str::to_owned for literals 2020-02-05 22:55:33 +09:00
Cedric Hutchings
62de954898 Use more specific scoping in hello_embed.rs 2020-01-26 16:02:48 -05:00
Cedric Hutchings
93ccc69d7d Replace 'pointer' with 'memory' 2020-01-26 15:40:01 -05:00
Cedric Hutchings
d1f74f90cd Make suggested improvements to mini_repl.rs 2020-01-26 15:29:58 -05:00
Cedric Hutchings
c6aed0464a Add note about when output is printed to mini_repl.rs 2020-01-26 01:04:53 -05:00
Cedric Hutchings
9beb44251d Add examples showcasing how to embed RustPython in Rust applications 2020-01-26 00:42:35 -05:00
Windel Bouwman
7b38988ffb Add sunau library. Add default option to dis example. 2019-08-14 14:42:27 +02:00
coolreader18
7eff681dfb Update help line 2019-08-13 12:35:10 -05:00
coolreader18
dc7f1389e0 Add dis example 2019-08-13 12:35:08 -05:00
Windel Bouwman
dbc562c613 Implement clippy hint. 2019-08-11 09:57:40 +02:00
Windel Bouwman
a400f6631c Improve lexing of numbers with underscores. 2019-08-11 09:29:21 +02:00
Windel Bouwman
2fdfcb96a5 Add parser support for async for loop. Add yield expression inside parentheses. 2019-08-07 20:11:27 +02:00
Windel Bouwman
1fddce461f Implement review comments and improve parsing a bit. 2019-07-25 23:54:31 +02:00
Windel Bouwman
a06bd3ecea Add an example usecase of the parser. 2019-07-24 20:13:30 +02:00