Stephen Chung
|
69a0f044f4
|
Use interned strings to prepare for match statement.
|
2020-11-12 22:36:13 +08:00 |
|
Stephen Chung
|
8e5a53bc0d
|
Implement Hash for Dynamic.
|
2020-11-12 21:53:26 +08:00 |
|
Stephen Chung
|
41c815f355
|
Optimize in-place.
|
2020-11-12 12:37:42 +08:00 |
|
Stephen Chung
|
7b27dcdd62
|
Fix error messages.
|
2020-11-11 13:25:45 +08:00 |
|
Stephen Chung
|
958762079e
|
Change modules to namespace.
|
2020-11-10 23:26:50 +08:00 |
|
Stephen Chung
|
c41f5aefcb
|
Change sub-modules to shared.
|
2020-11-09 22:44:20 +08:00 |
|
Stephen Chung
|
e69444293c
|
Encapsulate imported modules into AST.
|
2020-11-09 21:52:23 +08:00 |
|
Stephen Chung
|
821e64adc4
|
Allow multiple exports.
|
2020-11-09 14:38:33 +08:00 |
|
Stephen Chung
|
173f8474d6
|
Fix no_module build.
|
2020-11-09 12:50:18 +08:00 |
|
Stephen Chung
|
4b622a8830
|
Enable export let/export const short-hand.
|
2020-11-09 12:21:11 +08:00 |
|
Stephen Chung
|
48886eacc8
|
Add == and != to arrays and maps.
|
2020-11-08 23:00:37 +08:00 |
|
Stephen Chung
|
487a073caf
|
Fix recursive file import bug.
|
2020-11-08 23:00:03 +08:00 |
|
Stephen Chung
|
232ba27548
|
Add NativeCallContext::new.
|
2020-11-08 18:15:23 +08:00 |
|
Stephen Chung
|
b926eba501
|
Fix doc test.
|
2020-11-08 16:49:59 +08:00 |
|
Stephen Chung
|
1e07e4356e
|
Re-index imported modules if they are not yet indexed.
|
2020-11-08 14:29:54 +08:00 |
|
Stephen Chung
|
760f6c3678
|
Fix no_function build.
|
2020-11-08 10:56:33 +08:00 |
|
Stephen Chung
|
b3d318ef7f
|
Module resolver returns shared module.
|
2020-11-07 23:33:21 +08:00 |
|
Stephen Chung
|
d5d70367fa
|
Fix no-std buld.
|
2020-11-06 19:22:00 +08:00 |
|
Stephen Chung
|
6bc5ba6668
|
Enable functions to use global imports.
|
2020-11-06 19:17:07 +08:00 |
|
Stephen Chung
|
07a8a43298
|
Optimize data structures.
|
2020-11-06 16:27:40 +08:00 |
|
Stephen Chung
|
3f6db1d9d4
|
Remove extra export of LexError.
|
2020-11-04 20:20:55 +08:00 |
|
Stephen Chung
|
a5d22ddd45
|
Make FuncInfo a struct.
|
2020-11-04 14:37:46 +08:00 |
|
Stephen Chung
|
b390586bcc
|
Fix optimization of Stmt::Expr.
|
2020-11-04 13:11:37 +08:00 |
|
Stephen Chung
|
c287a61b93
|
Streamline ScriptFnDef.
|
2020-11-04 12:34:54 +08:00 |
|
Stephen Chung
|
f75942715d
|
Remove clippy warnings.
|
2020-11-04 12:34:34 +08:00 |
|
Stephen Chung
|
2168fd5361
|
Expr::Stmt takes a statements block.
|
2020-11-04 11:49:02 +08:00 |
|
Stephen Chung
|
32f41c69bd
|
Refine code and docs.
|
2020-11-03 21:50:14 +08:00 |
|
Stephen Chung
|
f74d947c6b
|
Fix constant assignment.
|
2020-11-03 13:08:19 +08:00 |
|
Stephen Chung
|
b9de8eaa7f
|
Minor code refactor.
|
2020-11-02 23:54:19 +08:00 |
|
Stephen Chung
|
cc304ba513
|
Fix serde build.
|
2020-11-02 13:18:37 +08:00 |
|
Stephen Chung
|
d7d6f74dfd
|
Add constant NO_POS.
|
2020-11-02 12:50:27 +08:00 |
|
Stephen Chung
|
6f3ce96d9d
|
Enable termination token.
|
2020-11-02 11:04:45 +08:00 |
|
Stephen Chung
|
b07a2aa79c
|
Pack Imports.
|
2020-11-01 23:42:00 +08:00 |
|
Stephen Chung
|
717e8e7eee
|
Remove unnecessary clone.
|
2020-11-01 22:55:19 +08:00 |
|
Stephen Chung
|
c55fc5a9a5
|
Optimize Scope.
|
2020-11-01 22:46:46 +08:00 |
|
Stephen Chung
|
a2e2b5e2ef
|
Add f32_float feature.
|
2020-11-01 15:48:48 +08:00 |
|
Stephen Chung
|
629e02f9da
|
Use Ident.
|
2020-11-01 00:04:02 +08:00 |
|
Stephen Chung
|
abbee80e5d
|
Do not box ModuleRef.
|
2020-10-31 23:51:59 +08:00 |
|
Stephen Chung
|
42eac410b7
|
Optimize Expr.
|
2020-10-31 23:26:21 +08:00 |
|
Stephen Chung
|
89811c8dfc
|
Pack Stmt and Expr some more.
|
2020-10-31 14:13:45 +08:00 |
|
Stephen Chung
|
3e23cf943e
|
Add to_float from f32 to f64.
|
2020-10-30 14:19:19 +08:00 |
|
Stephen Chung
|
a73584cd36
|
Fix no_std.
|
2020-10-29 12:00:02 +08:00 |
|
Stephen Chung
|
4e115d2bc2
|
Code structure refactor.
|
2020-10-29 11:37:51 +08:00 |
|
Stephen Chung
|
cbd7ed2ca7
|
Fix test.
|
2020-10-28 22:30:35 +08:00 |
|
Stephen Chung
|
bed6364dcb
|
Simplify hash calculation.
|
2020-10-28 22:30:29 +08:00 |
|
Stephen Chung
|
f5ffbfbe06
|
Code structure cleanup.
|
2020-10-28 22:18:44 +08:00 |
|
Stephen Chung
|
53adc58f63
|
Fix no_closure build.
|
2020-10-28 19:21:45 +08:00 |
|
Stephen Chung
|
f56c3fe9cb
|
Add Ident/IdentX to AST.
|
2020-10-28 19:11:17 +08:00 |
|
Stephen Chung
|
00b1051732
|
Optimize Stmt/Expr reflections.
|
2020-10-28 14:10:48 +08:00 |
|
Stephen Chung
|
427af14f1b
|
Don't wrap system errors from function calls.
|
2020-10-28 14:10:46 +08:00 |
|