Stephen Chung
|
5a75479119
|
Fix bug in Scope cloning.
|
2022-04-23 11:53:17 +08:00 |
|
Stephen Chung
|
a6c2c00479
|
Allow variables in scope for strict vars.
|
2022-04-22 12:12:36 +08:00 |
|
Stephen Chung
|
6f4cc91451
|
Fix builds.
|
2022-04-21 16:01:20 +08:00 |
|
Stephen Chung
|
6b8ddd925b
|
Allow scope constants in strict variables mode.
|
2022-04-21 13:21:53 +08:00 |
|
Stephen Chung
|
4f2764d233
|
Revise parse_json .
|
2022-04-21 10:04:57 +08:00 |
|
Stephen Chung
|
5e4f27ae25
|
Add Token::Unit.
|
2022-04-21 10:04:46 +08:00 |
|
Stephen Chung
|
3ff1ce0a19
|
Fix compound assignments with indexers.
|
2022-04-14 22:55:39 +08:00 |
|
Stephen Chung
|
42f977862f
|
Add Dynamic parameters to qualified function calls.
|
2022-04-08 16:42:53 +08:00 |
|
Stephen Chung
|
95753bb9c3
|
Use global module constants in optimization.
|
2022-03-28 12:53:52 +08:00 |
|
Stephen Chung
|
5caf20d26b
|
Search for global variables in global modules.
|
2022-03-27 21:49:34 +08:00 |
|
Stephen Chung
|
fefa633cf0
|
Add type alias support for plugin modules.
|
2022-03-19 09:43:18 +08:00 |
|
Stephen Chung
|
1e4abd012c
|
Minor refactor.
|
2022-03-09 09:25:55 +08:00 |
|
Stephen Chung
|
0335035b0f
|
Fix bug with eager optimization of method calls.
|
2022-03-04 12:22:44 +08:00 |
|
Stephen Chung
|
8205547d8a
|
Use bitflags.
|
2022-02-25 11:42:59 +08:00 |
|
Stephen Chung
|
dd566ed1e1
|
Fix builds.
|
2022-02-19 12:26:17 +08:00 |
|
Stephen Chung
|
67a6638818
|
Allow variable to overwrite constant when shadowing.
|
2022-02-18 19:14:42 +08:00 |
|
Stephen Chung
|
bb04fab011
|
Optimize variable shadowing.
|
2022-02-18 15:04:46 +08:00 |
|
Stephen Chung
|
0d2e3d82f3
|
Reduce size of Stmt.
|
2022-02-16 17:51:14 +08:00 |
|
Stephen Chung
|
fb9964e1a3
|
Revise on_def_var API.
|
2022-02-15 10:56:05 +08:00 |
|
Stephen Chung
|
5bb6ce835f
|
Run var def filter during parsing.
|
2022-02-13 18:46:25 +08:00 |
|
Stephen Chung
|
340a047369
|
Add fail on invalid property for maps.
|
2022-02-09 13:12:43 +08:00 |
|
Stephen Chung
|
7686ca619a
|
Use .. for (_).
|
2022-02-08 09:46:14 +08:00 |
|
Stephen Chung
|
f8cee0fe4e
|
Simplify using ..
|
2022-02-08 09:02:15 +08:00 |
|
Stephen Chung
|
40bec9f017
|
Fix tests.
|
2022-02-04 23:02:00 +08:00 |
|
Stephen Chung
|
be9356727f
|
Add variable definition filter.
|
2022-02-04 22:59:41 +08:00 |
|
Stephen Chung
|
3be27746e0
|
Add allow_shadowing.
|
2022-02-04 13:20:47 +08:00 |
|
Stephen Chung
|
e0ed713bb6
|
Fix builds.
|
2022-02-02 14:57:30 +08:00 |
|
Stephen Chung
|
4a80483749
|
Support call stack and FunctionExit for native functions.
|
2022-02-02 14:47:35 +08:00 |
|
Stephen Chung
|
7163a7331a
|
Add commands and status to debugging interface.
|
2022-02-01 22:30:05 +08:00 |
|
Stephen Chung
|
dca0185323
|
Change on_debugger to register_debugger.
|
2022-02-01 14:07:06 +08:00 |
|
Stephen Chung
|
f1458e79e0
|
Improve AST debug display.
|
2022-01-31 13:38:27 +08:00 |
|
Stephen Chung
|
7b92a80c32
|
Fix encapsulated environment in module functions.
|
2022-01-30 17:27:13 +08:00 |
|
Stephen Chung
|
66af69aaff
|
Refactor and add state to debugger.
|
2022-01-28 18:59:18 +08:00 |
|
Stephen Chung
|
20baae71d4
|
Factor tuples into structs to aid in understanding.
|
2022-01-28 10:11:40 +08:00 |
|
Stephen Chung
|
aee35e5f20
|
Add DebuggingPackage.
|
2022-01-27 16:58:11 +08:00 |
|
Stephen Chung
|
b76a2be7c3
|
Fix unchecked build.
|
2022-01-24 08:49:41 +08:00 |
|
Stephen Chung
|
8d34ffb9f5
|
Fix bug in try block.
|
2022-01-24 08:34:21 +08:00 |
|
Stephen Chung
|
97be256a1a
|
Fix bug with optimizing op-assignment operators.
|
2022-01-23 21:09:37 +08:00 |
|
Stephen Chung
|
c32ace40a4
|
Fix builds.
|
2022-01-22 17:27:18 +08:00 |
|
Stephen Chung
|
bb34e316e8
|
Add custom collection test.
|
2022-01-18 17:46:24 +08:00 |
|
Stephen Chung
|
00b189d0c6
|
Replace Cow<str> in Scope with SmartString.
|
2022-01-15 11:26:43 +08:00 |
|
Stephen Chung
|
2677e7dc8a
|
Fix test for only_i32.
|
2022-01-14 23:19:27 +08:00 |
|
Stephen Chung
|
5ab7c59ba0
|
Fix Array::pad infinite loop.
|
2022-01-13 22:05:07 +08:00 |
|
Stephen Chung
|
5dae2b07f7
|
Add to_dynamic test for Option.
|
2022-01-13 19:02:37 +08:00 |
|
Stephen Chung
|
0f4e8848f9
|
Extract index calculataion into functions.
|
2022-01-13 18:13:27 +08:00 |
|
Stephen Chung
|
37dbc68bf5
|
Use target_family for wasm.
|
2022-01-12 08:12:28 +08:00 |
|
Stephen Chung
|
efd57c600b
|
Add test for literal operations.
|
2022-01-10 13:29:22 +08:00 |
|
Stephen Chung
|
d15470fd4b
|
Change eval<()> to run.
|
2022-01-10 13:26:33 +08:00 |
|
Stephen Chung
|
683cf31de2
|
Add more tests.
|
2022-01-09 17:26:46 +08:00 |
|
Stephen Chung
|
d1749131c5
|
Add missing data size check.
|
2022-01-08 23:23:43 +08:00 |
|
Stephen Chung
|
c75d51ae88
|
Reduce unnecessary data size checking.
|
2022-01-06 22:10:16 +08:00 |
|
Stephen Chung
|
97295a66da
|
Fix test.
|
2022-01-05 13:24:52 +08:00 |
|
Stephen Chung
|
328f6910b6
|
Refactor wasm feature gates.
|
2022-01-04 22:16:20 +08:00 |
|
Stephen Chung
|
135b1f54c2
|
Remove Option from source and use empty string as no source.
|
2022-01-01 17:20:00 +08:00 |
|
Stephen Chung
|
7ed91eadc0
|
Fix blob test.
|
2021-12-31 19:34:43 +08:00 |
|
Stephen Chung
|
c4c4696964
|
Fix builds.
|
2021-12-31 18:55:48 +08:00 |
|
Stephen Chung
|
f3a8364936
|
Split blob write into write_utf8 and write_ascii.
|
2021-12-31 17:49:38 +08:00 |
|
Stephen Chung
|
e3aa2c19ce
|
Make for loops for efficient.
|
2021-12-31 15:59:13 +08:00 |
|
Stephen Chung
|
80ccd52319
|
Add tests.
|
2021-12-30 12:23:35 +08:00 |
|
Stephen Chung
|
cbaf095c7a
|
Merge restore_state and rewind_scope.
|
2021-12-28 17:50:49 +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
|
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
|
29a9b3878d
|
Fix builds.
|
2021-12-17 16:32:34 +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
|
ef14079c61
|
Add ranges.
|
2021-12-15 12:06:17 +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
|
675ddb89f9
|
Add "" and `` in string literals.
|
2021-12-09 13:34:51 +08:00 |
|
Stephen Chung
|
4421f33b2c
|
Fix bug in blob's.
|
2021-12-07 19:03:04 +08:00 |
|
Stephen Chung
|
b8c4054c20
|
Add strict variables mode.
|
2021-12-04 17:57:28 +08:00 |
|
Stephen Chung
|
ff4827064b
|
Fix build.
|
2021-12-03 11:52:34 +08:00 |
|
Stephen Chung
|
fd26654125
|
Add allow_looping.
|
2021-12-03 11:24:38 +08:00 |
|
Stephen Chung
|
7cd76c6d18
|
Add language options.
|
2021-12-03 11:16:35 +08:00 |
|
Stephen Chung
|
41dd989866
|
Support deserialization into byte arrays for BLOB's via serde_bytes.
|
2021-12-02 14:10:53 +08:00 |
|
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 |
|