Stephen Chung
|
5363b0724f
|
Support Option in from_dynamic.
|
2021-12-02 12:50:11 +08:00 |
|
Stephen Chung
|
d36e2d22d1
|
Minor refactor.
|
2021-12-02 12:49:46 +08:00 |
|
Stephen Chung
|
ba0a6c667e
|
Add FnPtr::call_within_context.
|
2021-11-29 12:43:59 +08:00 |
|
Stephen Chung
|
95dc2ad502
|
Remove fields and parameters under no_function.
|
2021-11-29 09:43:35 +08:00 |
|
Stephen Chung
|
dca47d5233
|
Remove volatile warnings for types and functions exposed unter internals.
|
2021-11-28 22:03:02 +08:00 |
|
Stephen Chung
|
f49ff28b82
|
Fix test.
|
2021-11-28 10:49:48 +08:00 |
|
Stephen Chung
|
30bfdd841a
|
Add FnPtr::call.
|
2021-11-27 16:28:34 +08:00 |
|
Stephen Chung
|
dc7444596b
|
Add test for capturing closures in array method.
|
2021-11-23 22:56:31 +08:00 |
|
Stephen Chung
|
a757dfe89d
|
Add blobs.
|
2021-11-23 14:58:54 +08:00 |
|
Stephen Chung
|
6ad7b344bf
|
Add into_array and into_typed_array.
|
2021-11-23 12:45:59 +08:00 |
|
Stephen Chung
|
de906053ed
|
Deprecate call_fn_dynamic into call_fn_raw.
|
2021-11-15 11:13:00 +08:00 |
|
Stephen Chung
|
615c3acad6
|
Use actual outer scope for function-bang calls.
|
2021-11-14 22:48:57 +08:00 |
|
Stephen Chung
|
6b27ca19d5
|
Add function call bang test.
|
2021-11-10 22:10:03 +08:00 |
|
Stephen Chung
|
c8b59bd9ca
|
Fix test.
|
2021-11-08 23:24:03 +08:00 |
|
Stephen Chung
|
5083df3096
|
Propagate constants to functions for Engine::XXX_with_scope calls.
|
2021-11-08 22:16:28 +08:00 |
|
Stephen Chung
|
09e6b21729
|
Move mutable runtime global state to Imports.
|
2021-11-08 09:27:08 +08:00 |
|
Stephen Chung
|
71ad158b6a
|
Fix builds.
|
2021-11-07 18:25:32 +08:00 |
|
Stephen Chung
|
68c0ee08c0
|
Reduce usage of Default::default() to make it easier to refactor.
|
2021-11-07 18:12:37 +08:00 |
|
Stephen Chung
|
61cc3d0bf2
|
Merge branch 'v1.1-fixes'
|
2021-11-05 23:26:00 +08:00 |
|
Stephen Chung
|
eeca8c90aa
|
Make sure the global namespace is always searched first.
|
2021-11-05 23:22:05 +08:00 |
|
Stephen Chung
|
affbb81d8a
|
Add NativeCallContext::position.
|
2021-11-05 19:35:33 +08:00 |
|
Stephen Chung
|
5e275d4593
|
Fix no_function build.
|
2021-10-29 18:14:07 +08:00 |
|
Stephen Chung
|
00659d65d9
|
Implement global module in EvalState.
|
2021-10-27 17:52:48 +08:00 |
|
Stephen Chung
|
79dd3f8186
|
Add $$ marker to custom syntax.
|
2021-10-25 22:41:42 +08:00 |
|
Stephen Chung
|
9d1ab2c8a1
|
Add test for parsing overflow.
|
2021-10-18 16:40:54 +08:00 |
|
Stephen Chung
|
b091fea17b
|
Add event handler test.
|
2021-10-16 13:59:12 +08:00 |
|
Stephen Chung
|
87d48948f9
|
Merge branch 'bug-fixes'
|
2021-09-28 16:55:33 +08:00 |
|
Stephen Chung
|
7ce8887343
|
Fix no_index build.
|
2021-09-28 16:36:31 +08:00 |
|
Stephen Chung
|
85dcd6e754
|
Fix bug with changing property of value obtained via index getter.
|
2021-09-28 15:59:46 +08:00 |
|
Stephen Chung
|
c4a00f5269
|
Change consume to run.
|
2021-09-27 10:59:38 +08:00 |
|
Stephen Chung
|
fe47058add
|
Merge branch 'bug-fixes'
|
2021-09-27 10:34:46 +08:00 |
|
Stephen Chung
|
6df2178460
|
Assume property getters are pure.
|
2021-09-27 10:34:24 +08:00 |
|
Stephen Chung
|
6e7fbfa66f
|
Add pop to string.
|
2021-09-20 16:25:23 +08:00 |
|
Stephen Chung
|
cbe08fb64e
|
Merge branch 'bug-fixes'
|
2021-09-03 10:19:58 +08:00 |
|
Stephen Chung
|
71711998f1
|
Fix bug in catch error variable.
|
2021-09-03 10:05:58 +08:00 |
|
Stephen Chung
|
65fbfe36e7
|
Merge branch 'bug-fixes'
|
2021-09-02 22:49:17 +08:00 |
|
Stephen Chung
|
457be797a2
|
Fixed bug in using error variable within catch block.
|
2021-09-02 22:17:45 +08:00 |
|
Stephen Chung
|
0354f154ce
|
Add Scope::is_constant.
|
2021-08-17 15:51:14 +08:00 |
|
Stephen Chung
|
114c93f430
|
Fix bug in custom syntax starting with disabled stardard keyword.
|
2021-08-17 15:51:14 +08:00 |
|
Stephen Chung
|
180ad77224
|
Change Engine::consume_XXX to Engine::run_XXX.
|
2021-08-17 15:50:56 +08:00 |
|
Stephen Chung
|
e0125a1033
|
Allow self-terminating custom syntax.
|
2021-08-17 15:50:56 +08:00 |
|
Stephen Chung
|
94674679d9
|
Rename as_string and as_immutable_string.
|
2021-08-17 15:50:55 +08:00 |
|
Stephen Chung
|
b21deaf052
|
Support $symbol$ in custom syntax.
|
2021-08-17 15:50:55 +08:00 |
|
Stephen Chung
|
224a2dfb60
|
Fix bug in dotting-indexing.
|
2021-08-17 15:32:48 +08:00 |
|
Stephen Chung
|
d9f1f663ee
|
Simplify custom syntax test.
|
2021-08-11 19:27:15 +08:00 |
|
Stephen Chung
|
278b840e13
|
Fix unchecked build.
|
2021-08-04 18:57:52 +08:00 |
|
Stephen Chung
|
4807fdf1cf
|
Loops cannot be pure.
|
2021-08-04 17:37:56 +08:00 |
|
Stephen Chung
|
1d82a11f0b
|
Change AST nodes to use bitflags for options.
|
2021-08-03 22:19:25 +08:00 |
|
Stephen Chung
|
8ea6424d50
|
Rename syntax to custom_syntax.
|
2021-08-02 10:16:28 +08:00 |
|
Stephen Chung
|
0944261b88
|
Merge Stmt::Let and Stmt::Const into Stmt::Var.
|
2021-08-01 11:59:53 +08:00 |
|