Stephen Chung
|
f51864e190
|
Allow line continuations in repl example.
|
2020-03-22 09:25:41 +08:00 |
|
Stephen Chung
|
b29c3ba6a9
|
Add multi-line support to repl example.
|
2020-03-21 17:14:31 +08:00 |
|
Stephen Chung
|
cc8ec12691
|
Add more comments and examples.
|
2020-03-19 13:52:10 +08:00 |
|
Stephen Chung
|
a9c65a962c
|
Split no_stdlib and no_std into two features.
|
2020-03-18 12:04:26 +08:00 |
|
Stephen Chung
|
8efe080412
|
Handle break and return better.
|
2020-03-18 10:42:27 +08:00 |
|
Stephen Chung
|
6ca39a019b
|
Handle break and return better.
|
2020-03-17 17:33:37 +08:00 |
|
Stephen Chung
|
5235ba71dd
|
Run examples with full optimizations.
|
2020-03-16 12:41:19 +08:00 |
|
Stephen Chung
|
372321dfe3
|
Add full optimization level for aggressive optimizing.
|
2020-03-15 22:39:58 +08:00 |
|
Stephen Chung
|
6e076c409d
|
Use matches! in examples.
|
2020-03-14 23:40:30 +08:00 |
|
Stephen Chung
|
b3a22d942a
|
Allow AST optimization based on external Scope.
|
2020-03-14 14:30:44 +08:00 |
|
Stephen Chung
|
7e9a4fd965
|
Improve repl with command to print AST.
|
2020-03-12 15:31:01 +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
|
711cd9bb1c
|
Improve repl and rhai_runner examples with error messages.
|
2020-03-10 11:25:34 +08:00 |
|
Stephen Chung
|
bae9946291
|
Allow engine to retain functions across runs.
|
2020-03-10 09:30:12 +08:00 |
|
Stephen Chung
|
5b5fd162be
|
Use ? operator in tests.
|
2020-03-09 21:09:53 +08:00 |
|
Stephen Chung
|
63482d5a79
|
Use ? operator for examples.
|
2020-03-09 16:54:43 +08:00 |
|
Stephen Chung
|
710a07d896
|
Refactor some examples.
|
2020-03-02 15:19:59 +08:00 |
|
timfish
|
82fd20b2b1
|
Rust 2018
|
2019-09-18 11:21:07 +01:00 |
|
Lukáš Hozda
|
5edcfc2156
|
minor refactor
|
2017-12-21 12:28:59 +01:00 |
|
torkleyy
|
348a680980
|
Fix build and all tests
|
2017-12-20 21:09:53 +01:00 |
|
torkleyy
|
aec1fdcb78
|
Revert debugging changes
|
2017-12-20 16:39:03 +01:00 |
|
torkleyy
|
a0fb5036f6
|
Minor tweaks, fix bug
|
2017-12-20 16:32:04 +01:00 |
|
torkleyy
|
f09545921f
|
Rewrite Rhai function dispatching
|
2017-12-20 12:16:14 +01:00 |
|
Lukáš Hozda
|
0b9865b24c
|
add REPL example and consume functions
|
2017-10-15 17:50:39 +02:00 |
|
Lukáš Hozda
|
a1e92d006c
|
clippy refactoring
|
2017-10-02 23:44:45 +02:00 |
|
Lukáš Hozda
|
6cadf25221
|
update examples to use let instead of var
|
2017-10-02 09:51:45 +02:00 |
|
jonathandturner
|
b9ea072d6a
|
Add support for character constants
|
2016-04-13 18:40:06 -07:00 |
|
jonathandturner
|
4e38b9e611
|
Clean up trailing space and fix rhai_runner print out
|
2016-04-13 18:01:08 -07:00 |
|
jonathandturner
|
ceadc0977f
|
Add eval_file and get/set helpers
|
2016-03-17 08:45:48 -04:00 |
|
jonathandturner
|
21c3b625d7
|
Remove unnecessary Debug trait from example
|
2016-03-16 18:38:28 -04:00 |
|
jonathandturner
|
cfac566425
|
Remove unbox/cast step in eval
|
2016-03-16 18:32:05 -04:00 |
|
jonathandturner
|
254f4b081c
|
Simplified function registration to not require explicit coercion step. Simplified eval to take &str instead of String
|
2016-03-16 18:07:08 -04:00 |
|
jonathandturner
|
fbf81ff651
|
Add Scope to API. Move todo to github
|
2016-03-04 08:45:43 -05:00 |
|
jonathandturner
|
b5075e6511
|
Fix divide support
|
2016-03-03 11:32:02 -05:00 |
|
jonathandturner
|
3dea40a9f7
|
Fix type register visibility. Add a few more examples
|
2016-03-03 11:08:34 -05:00 |
|
jonathandturner
|
fee3852979
|
Move to lib style, move scripts into their own directory, start source examples
|
2016-03-03 10:55:28 -05:00 |
|
jonathandturner
|
54279fd75f
|
Add support for functions up to arity 6
|
2016-03-02 10:49:24 -05:00 |
|
jonathandturner
|
2bba8dc429
|
Add support for string constants with escape sequences
|
2016-03-02 08:37:28 -05:00 |
|
jonathandturner
|
1320a35c81
|
Add a few examples
|
2016-03-01 21:36:46 -05:00 |
|