Commit Graph

1864 Commits

Author SHA1 Message Date
Stephen Chung
9d052d00e5 Merge branch 'master' of https://github.com/schungx/rhai 2021-01-09 00:25:14 +08:00
Stephen Chung
0f1f6c4ad3 Add Engine::compile_to_self_contained. 2021-01-09 00:24:55 +08:00
Stephen Chung
27a8c1a342
Merge branch 'master' into master 2021-01-08 19:24:07 +08:00
Stephen Chung
b96c832141 Add EvalAltResult::clear_position(). 2021-01-08 14:29:57 +08:00
Stephen Chung
b799627b86
Merge pull request #326 from VictorKoenders/master
Fixed an issue when compiling no_std and no_optimize on a target with no alloc::sync
2021-01-07 22:53:07 +08:00
Stephen Chung
ec18bd26a2 Handle no-std without sync. 2021-01-07 22:52:20 +08:00
Stephen Chung
e527fc9e86 Remove doc/book from .gitignore. 2021-01-07 22:52:08 +08:00
Victor Koenders
a337648217 Fixed an issue when compiling no_std and no_optimize on a target with no alloc::sync 2021-01-07 15:32:56 +01:00
Stephen Chung
9a037afbb9 Remove book. 2021-01-07 18:57:40 +08:00
Stephen Chung
96b1e7777b Update URL links. 2021-01-07 17:30:06 +08:00
Stephen Chung
67a85a19ae Fix codegen test. 2021-01-06 19:30:58 +08:00
Stephen Chung
e059ca009c Fix feature builds. 2021-01-06 18:22:45 +08:00
Stephen Chung
a5d6392107 Use NonZero for limits. 2021-01-06 13:46:53 +08:00
Stephen Chung
3fbcefe0ed Move HashableHashMap to utils. 2021-01-05 18:37:07 +08:00
Stephen Chung
d5891d4802 Remove eval_expr_as_target. 2021-01-05 18:01:42 +08:00
Stephen Chung
cf9d35166d Remove hashing of the entire script by making Expr and Stmt Hash. 2021-01-04 11:58:24 +08:00
Stephen Chung
e2a47b2a65 Disallow duplicated function definitions. 2021-01-03 20:54:08 +08:00
Stephen Chung
1642232350
Merge pull request #322 from schungx/master
More source info.
2021-01-03 14:06:09 +08:00
Stephen Chung
103af43f68 Fix typo in sync. 2021-01-03 13:46:08 +08:00
Stephen Chung
33f7c8557c Put source into AST. 2021-01-03 13:30:01 +08:00
Stephen Chung
d3894e8aef Add #[inline] 2021-01-03 13:29:42 +08:00
Stephen Chung
70a0d6ce58 Make id_raw return Option<&ImmutableString> 2021-01-03 11:25:25 +08:00
Stephen Chung
e3b7aa47a0 Merge branch 'master' of https://github.com/schungx/rhai 2021-01-03 11:15:57 +08:00
Stephen Chung
c98d0fff40
Merge pull request #61 from Eliah-Lakhin/native-call-context-improvements
Minor improvements for NativeCallContext introspection
2021-01-03 11:14:56 +08:00
Ilya Lakhin
85ec781a35 Module::id_raw became crate-public 2021-01-03 09:29:50 +07:00
Ilya Lakhin
acbf5d8723 AST::set_source affects internal module id 2021-01-03 09:29:50 +07:00
Stephen Chung
1bbf473ec7 Add source info to native calls. 2021-01-03 00:20:13 +08:00
Stephen Chung
ef48f47b74 Refine docs and comments etc. 2021-01-02 23:30:10 +08:00
Stephen Chung
5a3bbaa322 Reduce size of FnPtr. 2021-01-02 13:37:40 +08:00
Stephen Chung
05fa8460a3 Remove unnecessary err.fill_position() 2021-01-02 13:29:16 +08:00
Stephen Chung
0a69caaf6d Refine API for contexts. 2021-01-01 17:05:06 +08:00
Stephen Chung
70f79d5402 More info on bin programs. 2020-12-31 22:11:16 +08:00
Stephen Chung
8f7a588ac3 Fix no_std. 2020-12-30 22:37:22 +08:00
Stephen Chung
0ea23859b2
Merge pull request #320 from KokaKiwi/no-std-module-resolver
engine(module_resolver): Fix build for no_std
2020-12-30 22:29:32 +08:00
KokaKiwi
a08544c019
engine(module_resolver): Fix build for no_std 2020-12-30 14:58:34 +01:00
Stephen Chung
8bb8df08ac Bump version. 2020-12-30 21:13:31 +08:00
Stephen Chung
ba7f8c6391 Propagate source info. 2020-12-30 21:12:51 +08:00
Stephen Chung
253e43da30
Merge pull request #319 from schungx/master
Fix no_module feature.
2020-12-30 15:57:50 +08:00
Stephen Chung
386e34aacd Fix no_module feature. 2020-12-30 15:37:39 +08:00
Stephen Chung
f58d7937b5
Merge pull request #318 from schungx/master
Ready 0.19.9
2020-12-30 15:20:03 +08:00
Stephen Chung
fba2dd7a84 Bump version. 2020-12-30 15:17:16 +08:00
Stephen Chung
db5b855dea Replace - with &ndash; 2020-12-29 23:01:34 +08:00
Stephen Chung
a45876856d Enhance rhai-repl. 2020-12-29 22:04:31 +08:00
Stephen Chung
049ad3b6fd Move rhai-repl and rhai-doc to bin. 2020-12-29 15:36:42 +08:00
Stephen Chung
2858aa3b2f Avoid calling token mapper if none is specified. 2020-12-29 13:12:11 +08:00
Stephen Chung
166e34fa0b
Merge pull request #317 from schungx/master
Code cleanup and fixes.
2020-12-29 13:01:53 +08:00
Stephen Chung
13f5cec291 Fix call stack limits. 2020-12-29 12:29:45 +08:00
Stephen Chung
41c6f985f5 Fix bug with tokenizing identifiers. 2020-12-29 11:37:15 +08:00
Stephen Chung
eca8212f38 More code refinements. 2020-12-29 10:41:20 +08:00
Stephen Chung
c7cbe71142
Merge pull request #316 from schungx/master
Code cleanup
2020-12-28 15:33:43 +08:00