Commit Graph

150 Commits

Author SHA1 Message Date
Mathieu Lala
9bdf3c290d
pull main & udpate lint 2023-02-05 17:59:02 +01:00
Mathieu Lala
9af5b1c78e
fix: default clippy lints 2022-12-30 18:07:39 +01:00
Stephen Chung
28640a6fe4 code cleanup. 2022-12-01 14:24:08 +08:00
Stephen Chung
4e27039521 Use bitflags. 2022-11-23 11:36:30 +08:00
Stephen Chung
d151c87687 Change call_fn_raw to call_fn_with_options. 2022-11-21 23:42:29 +08:00
l1npengtul
abe625c336 fix CI 2022-11-09 20:14:36 +09:00
Stephen Chung
3c2e031883 Use variable interpolation for println!. 2022-10-27 13:38:21 +08:00
Stephen Chung
6c777e68d3 Refine inlining. 2022-09-28 12:06:22 +08:00
Stephen Chung
040f28f5cd Types in constants and variables for definitions. 2022-09-08 10:53:55 +08:00
Stephen Chung
ca1b7f6a39 Refine is_empty methods. 2022-08-24 21:58:08 +08:00
ltabis
4b3608cedc feat(data-structures): add is_empty getter to map, string and blob. 2022-08-24 09:54:41 +02:00
ltabis
9c3443538a feat(array): add an empty getter for arrays. 2022-08-23 16:36:43 +02:00
Stephen Chung
1c7b80ed13 Use turbofish for impl Trait. 2022-08-12 22:48:15 +08:00
Stephen Chung
ceaf9fab1b
Merge pull request #65 from tguichaoua/type_builder_iterable
with_iterator --> is_iterable
2022-08-11 09:39:04 +08:00
Tristan Guichaoua
24bf3c29ef Merge remote-tracking branch 'other/master' into type_builder_iterable 2022-08-10 17:31:17 +02:00
Stephen Chung
464bc47052 Fix comment. 2022-08-10 13:15:34 +08:00
Stephen Chung
8408c190dc Add with_iterator to TypeBuilder. 2022-08-09 18:18:41 +08:00
Tristan Guichaoua
5eaa2a3d7e add example 2022-08-09 10:36:33 +02:00
Stephen Chung
ccf2b5655a Add docs on timestamp. 2022-07-31 13:23:15 +08:00
Stephen Chung
13a1147dea Add include_standard_packages to Definitions. 2022-07-29 13:39:51 +08:00
tamasfe
9fac93d404
feat(defs): nested modules, single file 2022-07-27 23:39:03 +02:00
Stephen Chung
d42c6b69a3 Map i64 and f64 to int and float in definitions file. 2022-07-26 22:55:24 +08:00
Stephen Chung
8e21c4727b Fix definitions API code styles and formatting. 2022-07-26 22:38:40 +08:00
Stephen Chung
0bf7baa502
Merge branch 'main' into feat-definitions 2022-07-26 21:18:01 +08:00
tamasfe
4bc2079bd6
fix(defs): builtin operator fixes 2022-07-26 15:10:39 +02:00
tamasfe
3805830bfa
chore(defs): regenerate example definitions 2022-07-26 15:08:12 +02:00
tamasfe
6d4b5095d2 feat(defs): deterministic function ordering 2022-07-26 14:46:18 +02:00
tamasfe
ade818b043
fix(defs): compile errors 2022-07-26 14:28:54 +02:00
tamasfe
8ebc50bea8
feat(defs): builtin definitions 2022-07-26 13:39:50 +02:00
Stephen Chung
a95ef4c255 Revise required/forbidden features in examples. 2022-07-26 17:05:42 +08:00
tamasfe
b7b9ff29e4
feat: basic definitions 2022-07-25 19:01:06 +02:00
Stephen Chung
45acb65f4f Use //! for script docs. 2022-07-24 23:03:35 +08:00
Stephen Chung
23cd4d0f6a Fix typo. 2022-06-13 16:32:33 +08:00
Stephen Chung
15448bf660 Forbid shadowing of state variable. 2022-02-27 22:47:13 +08:00
Stephen Chung
487d523e67 Expand callback example. 2022-02-16 09:12:34 +08:00
Stephen Chung
78794d7dfc Add callback example. 2022-02-12 12:41:10 +08:00
Stephen Chung
3f8f0b250f Add comments to examples. 2022-02-12 12:41:04 +08:00
Stephen Chung
2caf686e8a Fix links. 2022-02-12 11:50:53 +08:00
Stephen Chung
d300fdb34e List out examples. 2022-02-12 11:48:16 +08:00
Stephen Chung
775bd6fb35 Improve examples. 2022-02-10 12:54:30 +08:00
Stephen Chung
66af69aaff Refactor and add state to debugger. 2022-01-28 18:59:18 +08:00
Stephen Chung
57cfd6a354 Fix builds. 2022-01-16 23:15:37 +08:00
Stephen Chung
5935a88958 Revert "Refine examples."
This reverts commit 146129279c.
2022-01-16 22:50:39 +08:00
Stephen Chung
146129279c Refine examples. 2022-01-16 22:45:49 +08:00
Stephen Chung
d843baca12 Add event handler examples. 2022-01-16 22:45:25 +08:00
Stephen Chung
f0e9d4a557 Use run and i64 instead of eval and INT for examples. 2022-01-11 22:12:46 +08:00
Stephen Chung
dac99a9907 Update CI. 2021-10-23 18:16:51 +08:00
Stephen Chung
180ad77224 Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
Stephen Chung
0f66c67f82 Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
Stephen Chung
0807c474a1 Revise using string interpolation. 2021-04-04 23:22:45 +08:00