52 Commits

Author SHA1 Message Date
Windel Bouwman
cc24b73031 Set all versions to 0.1.0 2019-07-07 13:04:12 +02:00
Windel Bouwman
6a58b76ef7 Change authors to team name. 2019-07-01 21:14:07 +02:00
Windel Bouwman
bedbad284e Change underscore into hyphen 2019-07-01 21:05:29 +02:00
Windel Bouwman
183415e64b Move bytecode into own crate. 2019-06-30 11:01:40 +02:00
Windel Bouwman
ba88716fbe Merge pull request #1049 from RustPython/coolreader18/fromargs-span-errors
Improve errors messages for derive(FromArgs)
2019-06-23 20:59:11 +02:00
Windel Bouwman
eeb7551692 Merge pull request #1039 from RustPython/coolreader18/wasm-_js-module
[WASM] Add a JsValue class
2019-06-23 11:39:01 +02:00
Windel Bouwman
2f75562f14 Merge pull request #1045 from RustPython/coolreader18/pyclassmethod-attr
Add #[pyclassmethod] to #[pyimpl]
2019-06-22 12:40:49 +02:00
coolreader18
8cf38f5b25 Move classmethods on JsValue to be normal methods 2019-06-21 20:20:21 -05:00
coolreader18
61b26878de Add rustpython_vm::__exports module and fix warning 2019-06-21 20:20:19 -05:00
coolreader18
c359c430c2 Add set_file_attr to import_codeobj 2019-06-20 22:43:13 -05:00
coolreader18
aefbae40e4 Revert "Make CodeObject.source_path an Option<String>" 2019-06-20 12:01:20 -05:00
coolreader18
cb832e9aa1 Improve errors messages for derive(FromArgs) 2019-06-20 11:57:59 -05:00
coolreader18
e68b4943ca Add #[pyclassmethod] to #[pyimpl] 2019-06-18 20:37:08 -05:00
coolreader18
b74b65d37e Make CodeObject.source_path an Option<String> 2019-06-16 19:59:04 -05:00
coolreader18
1814977c45 Add doc comments 2019-06-15 20:19:59 -05:00
coolreader18
75c2e4ae9b Remove lazy_static, just store as a CodeObject 2019-06-15 11:31:30 -05:00
coolreader18
241f5190cc Formatting 2019-06-15 00:30:14 -05:00
coolreader18
b5ba62fe94 Add lazy_static argument 2019-06-14 21:17:12 -05:00
coolreader18
48966a76e2 Make py_compile_bytecode!() an expression 2019-06-14 18:20:02 -05:00
coolreader18
4d0eb06724 Default source_path 2019-06-14 12:40:01 -05:00
coolreader18
d2cde9a3bf Use bincode to deserialize into a CodeObject 2019-06-14 12:26:35 -05:00
coolreader18
e592f3d888 Add py_compile_bytecode! macro 2019-06-14 10:42:45 -05:00
ben
52039845dd Use closure for generated properties in struct sequences. 2019-05-19 15:23:51 +12:00
ben
8b657ab81e Add documentation for sys.flags 2019-05-19 10:32:07 +12:00
ben
2ca96c8ae1 Add sys.flags by creating a pystruct_sequence macro 2019-05-19 10:17:21 +12:00
coolreader18
dc63fc8ce7 Switch to span-based errors for pyclass and pyimpl 2019-04-15 22:15:20 -05:00
coolreader18
08babef619 Remove the __inside_vm hack for procedural macros 2019-04-15 20:24:16 -05:00
Joey
16644daffa Fix sub-crate compilation 2019-04-13 12:04:37 -07:00
coolreader18
c5f4eab142 Change objint to impl style with properties 2019-04-10 17:55:24 -05:00
coolreader18
2bdaa02700 Improve error messages 2019-04-10 17:45:07 -05:00
coolreader18
d099165e3b Rename item_name -> item_ident 2019-04-10 17:41:45 -05:00
coolreader18
47bd9680f9 Change ClassItem to enum 2019-04-10 17:41:25 -05:00
coolreader18
cbdab226d9 Change #[pymethod(property)] to #[pyproperty] 2019-04-09 22:07:21 -05:00
coolreader18
157204c61a Clean up the wasm crate 2019-04-05 23:24:26 -05:00
Adam Kelly
c8eda3733d Eliminate ctx.set_attr. 2019-04-05 09:50:31 +01:00
coolreader18
b3ea8155a5 Don't clone 2019-03-31 22:40:57 -05:00
coolreader18
51b766089f Allow an enum with #[pyclass] 2019-03-31 19:53:52 -05:00
coolreader18
53b46a7b32 Split some of #[pyclass] off into #[pyimpl] 2019-03-31 17:23:33 -05:00
coolreader18
15cffc4d2b Clean up a bit 2019-03-30 22:30:14 -05:00
coolreader18
f11f04da70 Split rustpython_derive into multiple files 2019-03-30 18:43:31 -05:00
coolreader18
d9efe4ea37 Require a #[pymethod] for a method to be recognized 2019-03-29 16:16:31 -05:00
coolreader18
8376ec2d98 Use doc comments for python __doc__ 2019-03-29 15:17:58 -05:00
coolreader18
ab6031871c impl PyStringRef using py_class 2019-03-29 14:51:42 -05:00
coolreader18
4222d87e31 Merge branch 'master' into coolreader18/py_class-proc-macro 2019-03-29 13:55:08 -05:00
ben
ce9a909b9d Change kind identifier to fully use python terminology 2019-03-29 19:03:13 +13:00
coolreader18
ff85838556 Add #[py_class] attribute proc macro 2019-03-29 00:16:34 -05:00
ben
6fd6cc647b Renamed ArgKind, and member to be consistent with python inspect module 2019-03-28 22:00:55 +13:00
ben
c8f4474e7f Implement handling of optional attribute in proc macro 2019-03-28 21:46:26 +13:00
ben
657d025592 Change syntax of attributes in FromArgs proc macro 2019-03-28 21:34:11 +13:00
ben
3ca387b509 Enhance FromArgs derive proc macro to allow positional, and positional
or keyword arguments.
2019-03-28 05:55:15 +13:00