Commit Graph

15 Commits

Author SHA1 Message Date
Stephen Chung
619b627d54 Modify for mutliple levels of indexing. 2020-04-26 18:37:41 +08:00
Stephen Chung
97520f14a9 Fix examples and benchmarks. 2020-04-22 19:28:08 +08:00
Stephen Chung
691541c176 Add more benchmarks. 2020-04-13 23:38:10 +08:00
Stephen Chung
5848339d5a Add timestamp support. 2020-04-11 16:06:57 +08:00
Stephen Chung
d4311bddb0 Put comments into example scripts. 2020-03-18 10:40:07 +08:00
Stephen Chung
504fd56f1f More documentation on chained assignment. 2020-03-14 14:57:59 +08:00
Stephen Chung
b3a22d942a Allow AST optimization based on external Scope. 2020-03-14 14:30:44 +08:00
Stephen Chung
91317c0d3e New sample script - primes.rhai. 2020-03-12 23:46:40 +08:00
Stephen Chung
157aa2be94 Add for statement and range function; New register_box_fn for functions returning Box<dyn Any> (which should not be boxed again); Register standard utility functions in library (e.g. print, string concat). 2020-02-23 22:48:46 +08:00
Lukáš Hozda
5edcfc2156 minor refactor 2017-12-21 12:28:59 +01:00
Lukáš Hozda
780962fcea add example scripts for comments and loop 2017-10-28 17:44:05 +02:00
Lukáš Hozda
660fbe2e39 [BREAKING CHANGE] change variable keyword to 'let' from 'var' 2017-10-02 08:46:35 +02:00
Jonathan Turner
2a28209b38 Add string concat/compare. Bump to 0.4 2016-08-17 18:33:31 -07:00
jonathandturner
b1ccaf4516 Add support for arrays 2016-03-26 10:46:28 -07:00
jonathandturner
fee3852979 Move to lib style, move scripts into their own directory, start source examples 2016-03-03 10:55:28 -05:00