Stephen Chung
|
12a379dd57
|
Add stepped range function and keys/values for maps.
|
2020-04-04 12:20:24 +08:00 |
|
Stephen Chung
|
a79f2a209c
|
Make Engine Send+Sync.
|
2020-04-03 17:17:00 +08:00 |
|
Stephen Chung
|
0873bdc152
|
Add sync feature to make Dynamic, Scope and AST Send + Sync .
|
2020-04-02 19:40:02 +08:00 |
|
Stephen Chung
|
5e7c9b47d5
|
Rename downcast to try_cast and add cast for Dynamic.
|
2020-04-02 12:35:44 +08:00 |
|
Stephen Chung
|
c4a51b1390
|
Add append/mixin functions for arrays and maps.
|
2020-04-01 22:56:54 +08:00 |
|
Stephen Chung
|
4ea2fb88ae
|
Add continue statement.
|
2020-04-01 16:22:18 +08:00 |
|
Stephen Chung
|
d7ac57c060
|
Minor code cleanup.
|
2020-04-01 09:51:33 +08:00 |
|
Stephen Chung
|
dcf5eaf64d
|
Add to_string to prepare for string interpolation.
|
2020-03-31 10:00:17 +08:00 |
|
Stephen Chung
|
01c0b51017
|
Change object maps to #{ ... }
|
2020-03-30 17:40:26 +08:00 |
|
Stephen Chung
|
fce51758d1
|
Add support for string literal property names in object maps.
|
2020-03-30 12:14:59 +08:00 |
|
Stephen Chung
|
45ee51874f
|
Add object maps.
|
2020-03-29 23:53:35 +08:00 |
|
Stephen Chung
|
ef6c6ea6d2
|
Add no_object feature to disable objects.
|
2020-03-29 17:15:12 +08:00 |
|
Stephen Chung
|
ef6dd9414a
|
Allow if expressions.
|
2020-03-27 23:47:23 +08:00 |
|
Stephen Chung
|
337a96394f
|
Limit function calls depth.
|
2020-03-27 14:34:01 +08:00 |
|
Stephen Chung
|
bcab024d22
|
Add info to pull directly from GitHub.
|
2020-03-24 09:49:19 +08:00 |
|
Stephen Chung
|
1b4bcbcfdf
|
Add evaluate expressions.
|
2020-03-22 21:03:58 +08:00 |
|
Stephen Chung
|
b6320c0eef
|
Minor fine tuning.
|
2020-03-22 10:18:16 +08:00 |
|
Stephen Chung
|
bd6eb27154
|
Undo secion changes to README on optimization levels.
|
2020-03-21 00:40:49 +08:00 |
|
Stephen Chung
|
ed996e71d6
|
Enable dot operations on constant variables.
|
2020-03-20 19:27:02 +08:00 |
|
Stephen Chung
|
16ea8f416e
|
Revise section on function side effects because Rhai functions cannot mutate state.
|
2020-03-19 22:29:24 +08:00 |
|
Stephen Chung
|
6a6c5f30de
|
Add eval function.
|
2020-03-19 19:53:42 +08:00 |
|
Stephen Chung
|
cc8ec12691
|
Add more comments and examples.
|
2020-03-19 13:52:10 +08:00 |
|
Stephen Chung
|
0dc51f8e59
|
Removee debug_msgs feature.
|
2020-03-18 22:03:50 +08:00 |
|
Stephen Chung
|
3518c5a630
|
Bump version to 0.11.0.
|
2020-03-18 12:13:44 +08:00 |
|
Stephen Chung
|
e7c669343e
|
Add no_std example.
|
2020-03-18 12:09:34 +08:00 |
|
Stephen Chung
|
ecded729ad
|
Finalize no_std support.
|
2020-03-18 10:50:51 +08:00 |
|
Stephen Chung
|
777f66ff3c
|
Add section on statements and variables.
|
2020-03-18 10:42:27 +08:00 |
|
Stephen Chung
|
abe5365bfd
|
Improve error messages to lists.
|
2020-03-18 10:40:07 +08:00 |
|
Stephen Chung
|
d4311bddb0
|
Put comments into example scripts.
|
2020-03-18 10:40:07 +08:00 |
|
Stephen Chung
|
35e354eb41
|
Refine README.
|
2020-03-16 12:42:01 +08:00 |
|
Stephen Chung
|
372321dfe3
|
Add full optimization level for aggressive optimizing.
|
2020-03-15 22:39:58 +08:00 |
|
Stephen Chung
|
973153e832
|
Add no_optimize feature to disable optimizations.
|
2020-03-14 20:06:10 +08:00 |
|
Stephen Chung
|
26bdc8ba08
|
FIX - fixes panic when constant array is assigned to. Refine README section on constants.
|
2020-03-14 19:46:44 +08:00 |
|
Stephen Chung
|
cb6171ebcd
|
Merge branch 'constants'
|
2020-03-14 14:33:56 +08:00 |
|
Stephen Chung
|
c7a6777b70
|
Merge branch 'master' into master
|
2020-03-13 18:27:53 +08:00 |
|
Stephen Chung
|
9844ae8665
|
Add constants.
|
2020-03-13 18:12:41 +08:00 |
|
Jarkko Kuukkanen
|
6c72e3c48b
|
Change filename to path for clarity
|
2020-03-13 12:07:51 +02:00 |
|
Stephen Chung
|
91317c0d3e
|
New sample script - primes.rhai.
|
2020-03-12 23:46:40 +08:00 |
|
Stephen Chung
|
da440a5dff
|
Add optimization section to README.
|
2020-03-12 21:19:34 +08:00 |
|
Stephen Chung
|
560da5fdc6
|
Allow call_fn with only one parameter; consume can retain functions, eval cannot.
|
2020-03-12 14:54:14 +08:00 |
|
Stephen Chung
|
e24d3a7ade
|
Allow overloading of script functions.
|
2020-03-12 13:02:13 +08:00 |
|
Stephen Chung
|
7c4d22d98a
|
Add no_function feature to disable script-defined functions.
|
2020-03-11 13:28:12 +08:00 |
|
Stephen Chung
|
708c285a0a
|
Add only_i32 and only_i64 features.
|
2020-03-10 23:06:20 +08:00 |
|
Stephen Chung
|
e22aaca5c1
|
Make sure all tests run with all features.
|
2020-03-10 19:48:47 +08:00 |
|
Stephen Chung
|
cc772c6e2a
|
Add no_float feature to disable floating-point.
|
2020-03-10 18:32:01 +08:00 |
|
Stephen Chung
|
52b5732bcb
|
Add no_inidex feature to disable arrays and indexing.
|
2020-03-10 17:10:33 +08:00 |
|
Stephen Chung
|
f3bcb2a10d
|
Simplify call_fn API, no need to pass &mut references.
|
2020-03-10 14:09:05 +08:00 |
|
Stephen Chung
|
711cd9bb1c
|
Improve repl and rhai_runner examples with error messages.
|
2020-03-10 11:25:34 +08:00 |
|
Stephen Chung
|
63482d5a79
|
Use ? operator for examples.
|
2020-03-09 16:54:43 +08:00 |
|
Stephen Chung
|
a6899afb11
|
Refine README.
|
2020-03-09 12:53:07 +08:00 |
|