Commit Graph

25 Commits

Author SHA1 Message Date
Stephen Chung
549ef6bf7f Add oop.rhai script. 2020-06-27 17:34:39 +08:00
Stephen Chung
c6e5f672c9 More benchmarks and examples. 2020-05-31 23:44:49 +08:00
Stephen Chung
331513f5e0 Increase to prime numbers <= 1 million. 2020-05-31 22:47:39 +08:00
Stephen Chung
7fa05f3886 Do not print to avoid skewing the run timing. 2020-05-31 15:57:53 +08:00
Stephen Chung
4c46c7e26b Register property versions of some methods. 2020-05-30 10:30:21 +08:00
Stephen Chung
95e67c48bd Optimize op-assignment statement. 2020-05-25 20:14:31 +08:00
Stephen Chung
c37a2cc886 Check scripts for calculation errors. 2020-05-13 11:56:48 +08:00
Stephen Chung
68732a6e47 Use stepped range. 2020-05-03 22:12:10 +08:00
Stephen Chung
fc66a7ecef Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
Stephen Chung
0d5a36edc8 Increase prime numbers limit to 100K. 2020-04-27 12:42:39 +08:00
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