Commit Graph

2864 Commits

Author SHA1 Message Date
Stephen Chung
1fd242ed2c Flatten nested block scopes. 2021-12-30 12:14:54 +08:00
Stephen Chung
be4ae6e763 Add rewind_scope to eval_stmt. 2021-12-30 08:57:23 +08:00
Stephen Chung
3488dbe74b Fix merging strings interner. 2021-12-29 14:26:54 +08:00
Stephen Chung
4bd482352e Fix eval call. 2021-12-28 23:00:31 +08:00
Stephen Chung
cbaf095c7a Merge restore_state and rewind_scope. 2021-12-28 17:50:49 +08:00
Stephen Chung
5b667a69b7 Reverse EvalStateData. 2021-12-28 12:19:20 +08:00
Stephen Chung
280010c427 Fix builds. 2021-12-28 12:00:01 +08:00
Stephen Chung
807240e249 Rename Imports to GlobalRuntimeState. 2021-12-28 11:42:52 +08:00
Stephen Chung
9deddc679c Use Box<str>. 2021-12-27 23:15:25 +08:00
Stephen Chung
a78488d935 Rename Imports to GlobalRuntimeState. 2021-12-27 23:03:30 +08:00
Stephen Chung
e8b070cbf8 Fix builds. 2021-12-27 22:28:11 +08:00
Stephen Chung
9c7ced2b80 Move custom syntax to api. 2021-12-27 22:02:34 +08:00
Stephen Chung
4d226542fa Split out strings interner. 2021-12-27 21:56:50 +08:00
Stephen Chung
7a15071e4e Reduce size of ChainArgument. 2021-12-27 17:00:21 +08:00
Stephen Chung
757eacfdde No need for types with Into::into. 2021-12-27 16:59:05 +08:00
Stephen Chung
f443e4d9f6 Fix formatting. 2021-12-27 13:30:44 +08:00
Stephen Chung
dfb3378b28 Expand function call arguments inline storage. 2021-12-27 12:27:44 +08:00
Stephen Chung
05d4c81e7a Use type alias for error. 2021-12-27 12:27:31 +08:00
Stephen Chung
e7ca3f41dd Fix formatting. 2021-12-27 11:43:11 +08:00
Stephen Chung
a07faf7dd9 Fix doc test. 2021-12-26 12:16:48 +08:00
Stephen Chung
01c35808cb Use type alias 2021-12-25 23:49:14 +08:00
Stephen Chung
43363e0660 Reserve is keyword. 2021-12-24 14:59:14 +08:00
Stephen Chung
5c31ec7f78 Fix array bug. 2021-12-22 22:22:20 +08:00
Stephen Chung
3751b6d018 Build in array/blob concat functions. 2021-12-22 19:59:48 +08:00
Stephen Chung
422db4269e Allow multiple packages in def_package. 2021-12-22 12:41:55 +08:00
Stephen Chung
1c50efbac8 Unroll switch range case if range has only one number. 2021-12-22 10:48:19 +08:00
Stephen Chung
7ff50451cc Make comments multiline. 2021-12-21 22:16:03 +08:00
Stephen Chung
f9f3615878 Fix builds. 2021-12-21 16:36:53 +08:00
Stephen Chung
b85a9b3c1c Extract doc-comment on plugin functions. 2021-12-21 16:14:07 +08:00
Stephen Chung
f74486f904 Separate return type name and use references for serialization. 2021-12-21 13:21:29 +08:00
Stephen Chung
d7960dfe80 Short circuit no_function. 2021-12-21 13:03:39 +08:00
Stephen Chung
b4756b4575 Move CallableFunction to own file. 2021-12-20 22:13:00 +08:00
Stephen Chung
57d7985015 Expand switch example. 2021-12-20 15:18:44 +08:00
Stephen Chung
bca9fe53b0 New syntax for def_package. 2021-12-20 11:42:39 +08:00
Stephen Chung
5729f0cdd4 Add test for call_fn_raw. 2021-12-19 23:22:14 +08:00
Stephen Chung
123012404b Add Blob::write for strings. 2021-12-18 23:03:35 +08:00
Stephen Chung
e507dcfcb4 Fix no_index build. 2021-12-18 18:44:08 +08:00
Stephen Chung
541ef319bb Merge branch 'v1.3-fixes' 2021-12-18 18:22:20 +08:00
Stephen Chung
ac8324ae41 Fix no_object build. 2021-12-18 18:08:48 +08:00
Stephen Chung
aa8cc8f719 Fix builds. 2021-12-18 17:59:32 +08:00
Stephen Chung
7eda6454a8 Bug fix. 2021-12-18 17:47:35 +08:00
Stephen Chung
9736171089 Fix bug in hex parsing for negative numbers. 2021-12-18 17:07:30 +08:00
Stephen Chung
0ae4d14a62 Move BLOB concat and push to builtin. 2021-12-18 15:37:20 +08:00
Stephen Chung
82d3375fc0 Fix Dynamic::from for BLOB. 2021-12-18 15:36:30 +08:00
Stephen Chung
9cf8360616 Move blob functions to builtin. 2021-12-18 14:58:02 +08:00
Stephen Chung
2b79a65454 Move range contains into builtin. 2021-12-18 14:50:37 +08:00
Stephen Chung
fc84600b22 Add NativeCallContext::call_fn 2021-12-18 12:29:04 +08:00
Stephen Chung
1c1247ac9a Tidy up code. 2021-12-18 12:28:56 +08:00
Stephen Chung
dc6896fbe2 Add OpAssignment::new_from_token. 2021-12-17 16:55:24 +08:00
Stephen Chung
8d67c70294 Fix builds. 2021-12-17 16:55:07 +08:00