Commit Graph

1016 Commits

Author SHA1 Message Date
ekicyou
79022b1858 refactoring 2020-07-29 06:54:23 +09:00
ekicyou
c6d5bd000d move is_valid_identifier 2020-07-29 06:24:41 +09:00
ekicyou
56a8120d75 add get_identifier 2020-07-29 05:26:57 +09:00
Stephen Chung
411539f3be Minimize usage of downcast_ref. 2020-07-28 19:11:46 +08:00
Stephen Chung
37ea24afe9 Improve docs. 2020-07-28 19:11:37 +08:00
Stephen Chung
b63ff56e09 Make sure we keep the starting position of each statement (for future uses). 2020-07-28 10:26:20 +08:00
Stephen Chung
b70fd35f4a Revise docs. 2020-07-28 10:25:57 +08:00
Stephen Chung
f05cd1fdf3 Add shared and sync to reserved keywords. 2020-07-28 10:25:26 +08:00
Stephen Chung
057f6435a4 Add public_only parameter to module function methods. 2020-07-27 18:10:45 +08:00
Stephen Chung
a3a167424b Allow Rust functions in FnPtr::call_dynamic. 2020-07-27 12:52:32 +08:00
Stephen Chung
2dd4d9bcf9 Avoid warnings with only_i32. 2020-07-26 22:37:33 +08:00
Stephen Chung
ec5082c328 Better handling of reserved keywords. 2020-07-26 22:25:30 +08:00
Stephen Chung
ce20248792 Add more reserved keywords. 2020-07-26 21:57:30 +08:00
Stephen Chung
878ba0b794 Remove register_raw_fn_XXX API's. 2020-07-26 18:17:55 +08:00
Stephen Chung
1e8978f921 Revert "Delete benchmark.yml"
This reverts commit 5dc244ddc8.
2020-07-26 16:35:13 +08:00
Stephen Chung
5450f66278
Merge pull request #202 from schungx/master
Eliminate compilation warnings.
2020-07-26 16:24:32 +08:00
Stephen Chung
5dc244ddc8
Delete benchmark.yml 2020-07-26 16:23:47 +08:00
Stephen Chung
6b600704a3 Avoid warnings. 2020-07-26 15:53:22 +08:00
Stephen Chung
5e48478496 Improve writeup. 2020-07-26 10:07:40 +08:00
Stephen Chung
353df6bea1 Avoid warnings in standard build. 2020-07-26 10:03:59 +08:00
Stephen Chung
7f1859b6ed Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 18:29:41 +08:00
Stephen Chung
4af0bbf6d3
Merge pull request #201 from udoprog/fix-no-std-build
Fix building no_std on Windows and Linux
2020-07-25 18:29:21 +08:00
John-John Tedro
66700b4a53 Fix building no_std on Linux and Windows 2020-07-25 12:04:08 +02:00
Stephen Chung
f601cc8c0a Restore benchmark.yml. 2020-07-25 16:51:29 +08:00
Stephen Chung
f2d8d747bb Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 16:48:17 +08:00
Stephen Chung
4ee4cf1b58
Merge pull request #199 from udoprog/master
Build pull requests and master branch using Github Actions
2020-07-25 16:47:51 +08:00
John-John Tedro
90ff503ddc Replace Travis and build with GitHub Actions 2020-07-25 10:39:58 +02:00
Stephen Chung
c530792d00 Add repoTree and repoHome macros. 2020-07-25 16:36:50 +08:00
Stephen Chung
5c02dc49d1
Delete benchmark.yml 2020-07-25 16:22:20 +08:00
Stephen Chung
fc891dcdac
Merge pull request #200 from schungx/master
Documentation improvements and syncing up.
2020-07-25 16:19:48 +08:00
Stephen Chung
9d900a6722 Remove _Private. 2020-07-25 16:09:13 +08:00
Stephen Chung
94c2f64473 Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 16:05:11 +08:00
Stephen Chung
c825de6f77 Mark internal data structures with [INTERNALS]. 2020-07-25 16:05:08 +08:00
Stephen Chung
22169582bb
Merge pull request #196 from udoprog/tokenize-numeric-literal
Avoid scanning over slices to validate numerical literals
2020-07-25 16:03:17 +08:00
Stephen Chung
6a96be3382 Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 15:58:37 +08:00
John-John Tedro
1aab77df1c Avoid scanning over slices to validate numerical literals 2020-07-25 09:52:54 +02:00
Stephen Chung
284e58e8a1 Improve documentation on internal types. 2020-07-25 15:52:27 +08:00
Stephen Chung
252b6cb8f3
Merge pull request #197 from udoprog/seal-variant
Seal Variant trait to prevent downstream implementations
2020-07-25 15:50:51 +08:00
Stephen Chung
8109e26538
Merge pull request #198 from udoprog/unbreak-no-std
Unbreak no std
2020-07-25 15:39:25 +08:00
John-John Tedro
be86927bc5 Use bash syntax to check value of TRAVIS_RUST_VERSION 2020-07-25 09:26:22 +02:00
John-John Tedro
261273bac3 Unbreak no_std 2020-07-25 09:21:30 +02:00
John-John Tedro
e7aaec8e3a Seal Variant trait to prevent downstream implementations 2020-07-25 09:20:19 +02:00
Stephen Chung
7f7c3b44f9
Merge pull request #191 from udoprog/error-shadowing
Avoid shadowing call errors in get_indexed_mut
2020-07-25 15:15:49 +08:00
John-John Tedro
d920613d57 Avoid shadowing call errors in get_indexed_mut 2020-07-25 08:13:11 +02:00
Stephen Chung
a58207aaa9 Change ScriptFnDef to use ImmutableString. 2020-07-25 14:06:13 +08:00
Stephen Chung
b4b7abdcb0 Add license to README. 2020-07-25 14:06:04 +08:00
Stephen Chung
ac218e23c6 Merge branch 'master' of https://github.com/jonathandturner/rhai 2020-07-25 14:02:04 +08:00
Stephen Chung
333c4e3a2e
Merge pull request #194 from felixrabe/issue-193-license-clarification
License clarification
2020-07-25 14:01:16 +08:00
Felix Rabe
c14f36e2d5 README.md: Add License section (based on Syn) 2020-07-25 07:08:16 +02:00
Felix Rabe
ec0aa891d7 Add LICENSE-MIT.txt (based on Syn) 2020-07-25 07:08:16 +02:00