Stephen Chung
|
719f0babbf
|
Fix comments parsing.
|
2020-12-18 16:07:19 +08:00 |
|
Stephen Chung
|
fc54fdc907
|
Emphasize custom syntax are expressions.
|
2020-12-17 10:42:20 +08:00 |
|
Stephen Chung
|
95b8dcc623
|
Update docs.
|
2020-12-16 14:57:28 +08:00 |
|
Stephen Chung
|
f8c14ba1c4
|
Add look-ahead to custom syntax parser.
|
2020-12-15 19:23:30 +08:00 |
|
Stephen Chung
|
17310ef576
|
Encapsulate structures.
|
2020-12-14 23:05:13 +08:00 |
|
Stephen Chung
|
ecc08271d9
|
Include actual tokens in custom syntax node.
|
2020-12-13 14:31:24 +08:00 |
|
Stephen Chung
|
dbdb8f43b7
|
Change AST to struct.
|
2020-12-12 15:57:55 +08:00 |
|
Stephen Chung
|
40b6a014ae
|
Provide Position to debug.
|
2020-12-12 11:47:18 +08:00 |
|
Stephen Chung
|
4438c358d5
|
on_progress takes u64.
|
2020-12-12 10:10:27 +08:00 |
|
Stephen Chung
|
bed29da71a
|
Use ImmutableString.
|
2020-12-11 12:57:07 +08:00 |
|
Stephen Chung
|
f22a04fc74
|
Move constancy into Dynamic.
|
2020-12-08 22:47:38 +08:00 |
|
Stephen Chung
|
8e8069f819
|
Do not propagate constants if shadowed.
|
2020-12-08 22:20:29 +08:00 |
|
Stephen Chung
|
bd52333802
|
Add namespace test.
|
2020-12-07 21:54:52 +08:00 |
|
Stephen Chung
|
c5babac3da
|
Quote map property names.
|
2020-11-30 22:02:32 +08:00 |
|
Stephen Chung
|
4c4a209609
|
Fix tests.
|
2020-11-30 21:16:59 +08:00 |
|
Stephen Chung
|
1004bca5b5
|
Print arrays and maps with to_debug.
|
2020-11-30 11:20:51 +08:00 |
|
Stephen Chung
|
86009c70c8
|
Allow floating point numbers ending in a period.
|
2020-11-23 22:51:21 +08:00 |
|
Stephen Chung
|
eb4636f219
|
Fix LexError::ImproperSymbol.
|
2020-11-21 15:15:14 +08:00 |
|
Stephen Chung
|
0046fe7e73
|
Prefer Engine::disable_symbol to disable eval.
|
2020-11-21 15:08:18 +08:00 |
|
Stephen Chung
|
6c07d5fd73
|
Fix constant example.
|
2020-11-21 14:46:05 +08:00 |
|
Stephen Chung
|
2be757fda0
|
Make shadowing variables in custom syntax work.
|
2020-11-21 13:05:57 +08:00 |
|
Stephen Chung
|
17cd305af7
|
Restore previous always_search when exiting block.
|
2020-11-21 12:25:39 +08:00 |
|
Stephen Chung
|
6069a4cf55
|
do loop.
|
2020-11-20 22:23:37 +08:00 |
|
Stephen Chung
|
783803ec46
|
Update comments with links.
|
2020-11-20 16:52:28 +08:00 |
|
Stephen Chung
|
21c641d21f
|
Set namespace in Module::set_fn_XXX_mut calls.
|
2020-11-17 15:11:58 +08:00 |
|
Stephen Chung
|
df72d324ba
|
Fix tests.
|
2020-11-17 12:40:12 +08:00 |
|
Stephen Chung
|
038e3c2554
|
Add FnNamespace for module functions.
|
2020-11-17 12:23:53 +08:00 |
|
Stephen Chung
|
d50d48f26f
|
Move definition of Array and Map to lib.rs.
|
2020-11-16 21:14:32 +08:00 |
|
Stephen Chung
|
ef02150afd
|
Expose methods for Engine::register_module.
|
2020-11-16 14:07:48 +08:00 |
|
Stephen Chung
|
b75964e383
|
Add Dynamic::UNIT.
|
2020-11-15 23:14:29 +08:00 |
|
Stephen Chung
|
a63f14b59c
|
Expr::Switch -> Stmt::Switch.
|
2020-11-14 23:43:36 +08:00 |
|
Stephen Chung
|
c104afbdce
|
Fix switch test.
|
2020-11-14 18:30:26 +08:00 |
|
Stephen Chung
|
89254a04c4
|
Fix tests.
|
2020-11-14 17:22:01 +08:00 |
|
Stephen Chung
|
83c7c101d1
|
Add docs and tests for switch.
|
2020-11-14 09:38:16 +08:00 |
|
Stephen Chung
|
55b4907f19
|
Add switch expression.
|
2020-11-13 18:32:18 +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
|
821e64adc4
|
Allow multiple exports.
|
2020-11-09 14:38:33 +08:00 |
|
Stephen Chung
|
487a073caf
|
Fix recursive file import bug.
|
2020-11-08 23:00:03 +08:00 |
|
Stephen Chung
|
c6ef2d1e95
|
Add test to make sure call_fn does not pollute scope.
|
2020-11-06 13:41:04 +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
|
d7d6f74dfd
|
Add constant NO_POS.
|
2020-11-02 12:50:27 +08:00 |
|
Stephen Chung
|
3485f9b00b
|
Fix test.
|
2020-11-01 16:02:10 +08:00 |
|
Stephen Chung
|
a2e2b5e2ef
|
Add f32_float feature.
|
2020-11-01 15:48:48 +08:00 |
|
Stephen Chung
|
427af14f1b
|
Don't wrap system errors from function calls.
|
2020-10-28 14:10:46 +08:00 |
|
Stephen Chung
|
4b087d0e69
|
Fix test.
|
2020-10-27 23:45:04 +08:00 |
|
Stephen Chung
|
01663a6581
|
Refine docs.
|
2020-10-27 11:30:38 +08:00 |
|
Stephen Chung
|
54d68c1061
|
Fix bug.
|
2020-10-26 21:49:49 +08:00 |
|
Stephen Chung
|
b607a3a9ba
|
Add raw API for custom syntax.
|
2020-10-25 21:57:18 +08:00 |
|