Stephen Chung
|
4b760d1d0f
|
Unroll switch ranges if possible.
|
2022-07-18 08:54:10 +08:00 |
|
Stephen Chung
|
b4dbc7619a
|
Add no_custom_syntax.
|
2022-07-05 22:59:03 +08:00 |
|
Stephen Chung
|
b6528bd51d
|
Reduce usage of as_ref and as_mut.
|
2022-07-05 16:26:38 +08:00 |
|
Stephen Chung
|
9319f87a7b
|
Fix builds.
|
2022-07-04 17:47:59 +08:00 |
|
Stephen Chung
|
dee66a409f
|
Add case alternatives for switch.
|
2022-07-04 17:42:24 +08:00 |
|
Stephen Chung
|
2b44778a5c
|
Add elvis operator for indexing.
|
2022-06-12 00:32:12 +08:00 |
|
Stephen Chung
|
8999872d62
|
Add null coalescing operator.
|
2022-06-10 11:22:33 +08:00 |
|
Stephen Chung
|
0f1e51b1c9
|
Support Elvis operator.
|
2022-06-10 10:26:06 +08:00 |
|
Stephen Chung
|
09e19790fe
|
Fix builds.
|
2022-06-09 18:22:53 +08:00 |
|
Stephen Chung
|
dcaac20eb9
|
Strict mode in functions check for static modules.
|
2022-06-09 17:59:28 +08:00 |
|
Stephen Chung
|
285bf23dfa
|
Minor refactor.
|
2022-06-09 08:41:51 +08:00 |
|
Stephen Chung
|
e5f6b28abd
|
Fix warnings.
|
2022-06-08 17:06:49 +08:00 |
|
Stephen Chung
|
493c4a71ff
|
Add lifetime.
|
2022-05-26 18:17:46 +08:00 |
|
Stephen Chung
|
130b93d029
|
Use bit-flags for options.
|
2022-05-19 21:40:22 +08:00 |
|
Stephen Chung
|
857ae7a64a
|
Comments update.
|
2022-05-19 14:41:48 +08:00 |
|
Stephen Chung
|
04df4d2547
|
Fix indexing parsing.
|
2022-05-17 11:06:34 +08:00 |
|
Stephen Chung
|
c69f98c2c4
|
Add custom state.
|
2022-05-02 00:03:45 +08:00 |
|
Stephen Chung
|
a6c2c00479
|
Allow variables in scope for strict vars.
|
2022-04-22 12:12:36 +08:00 |
|
Stephen Chung
|
6b8ddd925b
|
Allow scope constants in strict variables mode.
|
2022-04-21 13:21:53 +08:00 |
|
Stephen Chung
|
5e4f27ae25
|
Add Token::Unit.
|
2022-04-21 10:04:46 +08:00 |
|
Stephen Chung
|
299d6ef308
|
Type checking in switch case condition.
|
2022-04-19 21:45:11 +08:00 |
|
Stephen Chung
|
770b2e04cc
|
Simplify switch condition.
|
2022-04-19 16:20:43 +08:00 |
|
Stephen Chung
|
60a933862e
|
Streamline op-assignments.
|
2022-04-18 23:12:47 +08:00 |
|
Stephen Chung
|
daf73d5341
|
Make caches optional for EvalContext.
|
2022-04-16 23:32:14 +08:00 |
|
Stephen Chung
|
855cb76246
|
Rename EvalState to Caches.
|
2022-04-16 16:36:53 +08:00 |
|
Stephen Chung
|
63359f3f81
|
Unused parameters naming.
|
2022-04-11 16:29:16 +08:00 |
|
Stephen Chung
|
1777ee7f6f
|
Allow strings to be iterable.
|
2022-04-09 13:37:43 +08:00 |
|
Stephen Chung
|
b35d965e55
|
Reverse Box<[...]> to Vec.
|
2022-03-06 16:37:27 +08:00 |
|
Stephen Chung
|
8bda8c64df
|
Refine data structures
|
2022-03-05 17:57:23 +08:00 |
|
Stephen Chung
|
e06c2b2abb
|
Remove constants in function call expressions.
|
2022-03-05 12:06:47 +08:00 |
|
Stephen Chung
|
0335035b0f
|
Fix bug with eager optimization of method calls.
|
2022-03-04 12:22:44 +08:00 |
|
Stephen Chung
|
0e9a16e437
|
Add checks for is_empty.
|
2022-03-03 13:02:57 +08:00 |
|
Stephen Chung
|
99ca6de822
|
Respect barrier when reusing shadowed variable.
|
2022-02-28 22:13:03 +08:00 |
|
Stephen Chung
|
d41d36c8bb
|
Simplify ParseState.
|
2022-02-28 16:32:08 +08:00 |
|
Stephen Chung
|
aee92f3b7b
|
Move parser into Engine.
|
2022-02-28 14:37:46 +08:00 |
|
Stephen Chung
|
b17e891b63
|
Reduce size of Token.
|
2022-02-26 23:18:47 +08:00 |
|
Stephen Chung
|
9ef522b699
|
Use SmartString in parsing.
|
2022-02-26 17:28:58 +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
|
83786c992b
|
Fix parser bug.
|
2022-02-18 11:05:58 +08:00 |
|
Stephen Chung
|
0d2e3d82f3
|
Reduce size of Stmt.
|
2022-02-16 17:51:14 +08:00 |
|
Stephen Chung
|
cf0660e36b
|
Expand StmtBlock inline size.
|
2022-02-16 12:57:26 +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
|
d23d1159ab
|
Fix positions.
|
2022-02-10 17:55:32 +08:00 |
|
Stephen Chung
|
e5a673b3ae
|
Add position info for closures.
|
2022-02-09 13:40:51 +08:00 |
|
Stephen Chung
|
3b9dbd5fce
|
Add Span.
|
2022-02-08 23:01:47 +08:00 |
|
Stephen Chung
|
8cf6f424a5
|
Use turbofish notation.
|
2022-02-08 21:28:15 +08:00 |
|