Commit Graph

9 Commits

Author SHA1 Message Date
Stephen Chung
45acb65f4f Use //! for script docs. 2022-07-24 23:03:35 +08:00
Stephen Chung
b63b4cb3af Format example scripts better. 2022-01-20 12:06:36 +08:00
Stephen Chung
57d7985015 Expand switch example. 2021-12-20 15:18:44 +08:00
Stephen Chung
c4b3ad7c7b Improve for-loop scripts. 2021-06-07 14:52:45 +08:00
Stephen Chung
0807c474a1 Revise using string interpolation. 2021-04-04 23:22:45 +08:00
Stephen Chung
f3bde843cb Fix scripts and tests. 2020-06-27 21:19:53 +08:00
Stephen Chung
fc66a7ecef Pretty up scripts with print. 2020-05-02 16:23:36 +08:00
Stephen Chung
d4311bddb0 Put comments into example scripts. 2020-03-18 10:40:07 +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