Commit Graph

3663 Commits

Author SHA1 Message Date
Stephen Chung
a227963f7a Fix unary parsing. 2021-11-13 09:50:49 +08:00
Stephen Chung
a9aa8e84fd Use Box<[]>. 2021-11-12 13:25:57 +08:00
Stephen Chung
bffc73435c Remove externals from ScriptFnDef. 2021-11-12 13:02:16 +08:00
Stephen Chung
42bef4c28c Merge branch 'v1.1-fixes' of https://github.com/schungx/rhai into v1.1-fixes 2021-11-11 22:48:13 +08:00
Stephen Chung
7f34e4ad99 Merge branch 'v1.1-fixes' 2021-11-11 21:47:45 +08:00
Stephen Chung
774fd7514e Fix bang function calls under no_closure. 2021-11-11 21:47:35 +08:00
Stephen Chung
5e18ea34fe Fix doc test. 2021-11-11 21:43:45 +08:00
Stephen Chung
0fbc437916 Use Box<str> internally. 2021-11-11 13:55:52 +08:00
Stephen Chung
6b27ca19d5 Add function call bang test. 2021-11-10 22:10:03 +08:00
Stephen Chung
93869b544c Fix doc test. 2021-11-09 15:42:17 +08:00
Stephen Chung
f6dc440601 Add AST::iter_literal_variables. 2021-11-09 13:22:45 +08:00
Stephen Chung
e63cba9caf Merge branch 'v1.1-fixes' 2021-11-09 08:48:16 +08:00
Stephen Chung
5685ca8411 Fix floating-point display. 2021-11-09 08:46:02 +08:00
Stephen Chung
cbd8a87557 Fix floating-point display. 2021-11-09 08:43:35 +08:00
Stephen Chung
c8b59bd9ca Fix test. 2021-11-08 23:24:03 +08:00
Stephen Chung
5083df3096 Propagate constants to functions for Engine::XXX_with_scope calls. 2021-11-08 22:16:28 +08:00
Stephen Chung
1633def76c
Merge pull request #484 from schungx/master
Bug fixes and new features.
2021-11-08 12:39:13 +08:00
Stephen Chung
31ef7e6c69 Fix builds. 2021-11-08 12:07:49 +08:00
Stephen Chung
cc6a0571e7 Fix builds. 2021-11-08 11:35:46 +08:00
Stephen Chung
09e6b21729 Move mutable runtime global state to Imports. 2021-11-08 09:27:08 +08:00
Stephen Chung
71ad158b6a Fix builds. 2021-11-07 18:25:32 +08:00
Stephen Chung
68c0ee08c0 Reduce usage of Default::default() to make it easier to refactor. 2021-11-07 18:12:37 +08:00
Stephen Chung
04c31fe1ff Bump version. 2021-11-06 00:04:52 +08:00
Stephen Chung
61cc3d0bf2 Merge branch 'v1.1-fixes' 2021-11-05 23:26:00 +08:00
Stephen Chung
eeca8c90aa Make sure the global namespace is always searched first. 2021-11-05 23:22:05 +08:00
Stephen Chung
46e99df9cd Reverse regression on string + operator. 2021-11-05 20:34:27 +08:00
Stephen Chung
b2eb207ce4 Fix no_position builds. 2021-11-05 19:53:52 +08:00
Stephen Chung
affbb81d8a Add NativeCallContext::position. 2021-11-05 19:35:33 +08:00
Stephen Chung
231584824a Properly handle unary operators at beginning of statement. 2021-11-03 09:11:20 +08:00
Stephen Chung
7c6b444616 Fix display of 0.0. 2021-11-03 08:44:07 +08:00
Stephen Chung
f1c5f0a232 Bump version. 2021-11-01 10:31:42 +08:00
Stephen Chung
5ae584fab2 Fix formatting. 2021-11-01 10:17:02 +08:00
Stephen Chung
ff9ac41da2 Merge branch 'v1.1-fixes' 2021-11-01 10:08:27 +08:00
Stephen Chung
c955c9200e Fix build. 2021-11-01 10:07:45 +08:00
Stephen Chung
64e7d7a4c4 Fix error template. 2021-11-01 10:07:06 +08:00
Stephen Chung
2ea86c3987 Fix bug in assignment parsing. 2021-11-01 09:55:50 +08:00
Stephen Chung
b23bdb6d13 Remove unnecessary string builtins. 2021-11-01 09:42:22 +08:00
Stephen Chung
77dfc80fe9 Use iter().rev().enumerate(). 2021-11-01 09:31:48 +08:00
Stephen Chung
5e275d4593 Fix no_function build. 2021-10-29 18:14:07 +08:00
Stephen Chung
11f180bd4e Fix error template. 2021-10-29 17:59:38 +08:00
Stephen Chung
3d1b2d6f10 Fix no_function build. 2021-10-29 17:10:28 +08:00
Stephen Chung
dc2e824ce2 Fix no_module builds. 2021-10-29 17:01:29 +08:00
Stephen Chung
a5ae002cb7 Refine namespace display. 2021-10-27 23:30:25 +08:00
Stephen Chung
00659d65d9 Implement global module in EvalState. 2021-10-27 17:52:48 +08:00
Stephen Chung
79dd3f8186 Add $$ marker to custom syntax. 2021-10-25 22:41:42 +08:00
Stephen Chung
76ac24dd85 Merge branch 'v1.1-fixes' 2021-10-23 18:17:09 +08:00
Stephen Chung
dac99a9907 Update CI. 2021-10-23 18:16:51 +08:00
Stephen Chung
1cc50bc543 Enhance CI. 2021-10-23 18:02:15 +08:00
Stephen Chung
96f08e8cad Merge branch 'v1.1-fixes' 2021-10-23 17:54:03 +08:00
Stephen Chung
4e965c3f3f Fix no_module+internals build. 2021-10-23 17:49:52 +08:00