Commit Graph

445 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
991be82370 Merge pull request #2313 from mainsail-org/mir/notebook
wasm/notebook updates
2020-11-03 15:32:21 -06:00
Mireille Raad
4002b38337 add snippets 2020-10-27 21:40:44 -04:00
Mireille Raad
a742d0d377 update ui and test features 2020-10-27 21:37:56 -04:00
Mireille Raad
b3ee56ce72 obligatory readme 2020-10-27 21:36:31 -04:00
Mireille Raad
264f49b3b1 give up on adding good javascript support, clean up UI instead 2020-10-27 00:47:06 -04:00
Mireille Raad
e8ffd4ea92 rewire code to run with the new code editors, update user interface 2020-10-21 00:44:16 -04:00
Mireille Raad
31c718c34f add multiple editors, use buffers, redo ui 2020-10-20 01:11:50 -04:00
Noah
e44ea3f9a5 Fix wasm 2020-10-19 23:55:55 -05:00
Jeong YunWon
ecf1120bee Clean up static-type affected apis 2020-10-20 02:29:28 +09:00
Jeong YunWon
4add0220ae PyValue::class() returns ref 2020-10-20 02:29:20 +09:00
Jeong YunWon
5b32064cd6 trait StaticType 2020-10-20 01:43:39 +09:00
Noah
c61759bd92 Rework some of the _js module 2020-10-17 11:34:05 -05:00
Mireille Raad
a081ee95d3 create a snippet directory and move sample 2020-10-16 18:55:38 -04:00
Mireille Raad
4935a12c4f add javascript support and calls 2020-10-16 18:53:18 -04:00
Mireille Raad
d75aa1b47a update UI and clean up css a bit 2020-10-16 18:52:42 -04:00
Jeong YunWon
19ed4f85e7 clean up vm::builtins 2020-10-13 15:42:11 +09: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
Jeong YunWon
4da1b62c18 PyFuncArgs -> FuncArgs
which does not represent a single python object
2020-10-11 09:38:07 +09:00
Jeong YunWon
b0445396f4 compactize invoke args 2020-10-11 09:38:06 +09:00
Jeong YunWon
b798caa012 Fix clippy error for wasm 2020-10-10 13:28:17 +09:00
Noah
acd0bf5434 Make the FromArgs derive less verbose 2020-10-01 17:42:07 -05:00
Joni Salmi
de7ef551c0 Document browser module availability in WASM Demo 2020-10-01 01:45:43 +02:00
Noah
b9e102a72d minifix defaultSnippet display in demo 2020-09-29 13:53:37 -05:00
Noah
87e2d0cbcc Add proper syntax highlighting for notebook 2020-09-29 13:53:35 -05:00
Noah
0cdbebeb50 Format with prettier 2020-09-29 13:53:09 -05:00
Noah
dd41295390 Merge pull request #2230 from mainsail-org/mir/notebook-with-md
rustpython notebook, add markdown and math support
2020-09-29 11:30:01 -05:00
Mireille Raad
737b1c064d include woff, woff2 and ttf fonts only for katex/math fonts 2020-09-26 11:00:07 -04:00
Jeong YunWon
59db19d1ea PyClass -> PyType 2020-09-26 07:32:38 +09:00
Jeong YunWon
f81ad04ce3 PyString -> PyStr 2020-09-26 00:20:02 +09:00
Mireille Raad
a76c642090 add markdown and math support 2020-09-21 22:03:50 -04:00
Jeong YunWon
0f7ed21eda remove vm.get_none and clean up its use cases 2020-09-19 10:20:20 +09:00
Ben Lewis
c54b4bb833 Split py_compile_bytecode into py_compile and py_freeze. 2020-09-18 18:59:58 +12:00
Jeong YunWon
a0d72943bf Merge pull request #2128 from youknowone/objectarc
CPython compatible Drop for PyObjectRc
2020-09-18 14:37:57 +09:00
Noah
c7f5da6ddd Rework VM initialization some more; make more stuff private 2020-09-17 12:05:29 -05:00
Noah
a536a0b40c Merge pull request #2208 from mainsail-org/rustpython-wasm-notebook
new wasm example: notebook inspired by alpha.iodide.io
2020-09-16 23:10:53 -05:00
Mireille Raad
a92d79616a better css 2020-09-16 11:30:14 -04:00
Mireille Raad
9785decdbc import code from raw content instead of using the github api 2020-09-16 10:32:28 -04:00
Noah
18273da108 Interpreter struct for managing thread-local vm stack 2020-09-15 16:44:39 -05:00
Mireille Raad
a2ba275c2c webpack config file: remove snippets from templateParameters 2020-09-14 22:28:51 -04:00
Mireille Raad
6b8aea057d notebook example inspired by the now abandoned alpha.iodide.io, wasm + rustpython 2020-09-14 21:45:45 -04:00
Jeong YunWon
0d6c77cd67 PyObjectWeak as a struct 2020-09-14 20:39:42 +09:00
Jeong YunWon
125b40972d PyObjectRc as generic 2020-09-14 09:40:53 +09:00
Jeong YunWon
1a91adc865 PyObjectRc 2020-09-14 09:40:52 +09:00
Noah
d3e89761d6 Remove the impl IntoPyNativeFunc for Fn(vm, args) to simplify the rules 2020-09-11 21:01:14 -05:00
Jeong YunWon
a1a8d0320d Merge pull request #2163 from RustPython/coolreader18/immutable-slots
Make class.slots completely immutable
2020-09-06 01:09:41 +09:00
Youngchan Lee
46518e8702 .into_ref(vm).into_object() -> .into_object(vm) 2020-09-05 14:04:46 +09:00
Noah
619f1a1de9 Make PyStructSequence a derive macro 2020-08-30 15:46:04 -05:00