Commit Graph

2992 Commits

Author SHA1 Message Date
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
Stephen Chung
29a9b3878d Fix builds. 2021-12-17 16:32:34 +08:00
Stephen Chung
42638db0fb Move Engine default limits. 2021-12-17 16:15:30 +08:00
Stephen Chung
c7ec27acc7 Split AST into separate files. 2021-12-17 16:07:13 +08:00
Stephen Chung
b1b2c62d7d Merge branch 'v1.3-fixes' 2021-12-16 22:40:25 +08:00
Stephen Chung
10fa6844c4 Fix custom syntax with method calls. 2021-12-16 22:40:10 +08:00
Stephen Chung
fbc2b1f13d Allow non-custom reserved symbols in custom syntax. 2021-12-16 18:01:49 +08:00
Stephen Chung
f92cbe1f6d Merge branch 'v1.3-fixes' 2021-12-16 16:10:39 +08:00
Stephen Chung
224aa0ea68 Allow custom syntax inside binary operator expressions. 2021-12-16 16:06:44 +08:00
Stephen Chung
2adb4ba4a8 Simplify deref_mut to &mut *. 2021-12-15 23:21:05 +08:00
Stephen Chung
abbfa3777d Add more range API's. 2021-12-15 22:12:51 +08:00
Stephen Chung
1290556c0a
Merge pull request #498 from schungx/master
Add ranges.
2021-12-15 16:07:28 +08:00
Stephen Chung
59a9ff0b0f Fix range precedences and add comparison operators. 2021-12-15 14:18:03 +08:00
Stephen Chung
eda80488d5 Fix builds. 2021-12-15 12:46:25 +08:00
Stephen Chung
7afec287d8 Fix doc test. 2021-12-15 12:26:05 +08:00
Stephen Chung
ef14079c61 Add ranges. 2021-12-15 12:06:17 +08:00
Stephen Chung
93e3c4c10a Compact BLOB display. 2021-12-13 09:40:43 +08:00
Stephen Chung
7251f34bce Bump version. 2021-12-12 18:10:09 +08:00
Stephen Chung
65529d28ef Bump fixes version. 2021-12-12 18:09:42 +08:00
Stephen Chung
aa9b48820b
Merge pull request #497 from schungx/master
Version 1.3
2021-12-12 17:50:06 +08:00
Stephen Chung
5eaf85254f Fix builds. 2021-12-12 17:26:15 +08:00
Stephen Chung
6af406bafc Add parse/write to blobs. 2021-12-12 16:29:54 +08:00
Stephen Chung
780c36e675 Simplify if let. 2021-12-12 12:33:22 +08:00