Commit Graph

2983 Commits

Author SHA1 Message Date
Stephen Chung
5a0199f44f Explanation of parse_string_literal return values. 2021-04-13 14:38:04 +08:00
Stephen Chung
ca2ec0d4d5 Fix script typo. 2021-04-13 14:37:33 +08:00
Stephen Chung
8389033789
Merge pull request #394 from schungx/master
Fix string continuation handling at EOF.
2021-04-11 21:58:02 +08:00
Stephen Chung
44e2e6aeb4 Fix string handling at EOF. 2021-04-11 21:49:03 +08:00
Stephen Chung
ccbbf3eb34 Enhance floating-point display. 2021-04-11 11:20:34 +08:00
Stephen Chung
c1c1e5f684 Use string start position as error position. 2021-04-11 11:19:46 +08:00
Stephen Chung
b658ca0b4b
Merge pull request #393 from schungx/master
@schungx Fix panic with unterminated interpolated string.
2021-04-10 17:57:29 +08:00
Stephen Chung
6b4553ffc8 Fix panic with unterminated interpolated string. 2021-04-10 17:47:44 +08:00
Stephen Chung
40fda5139d Support negative index counting from end. 2021-04-10 15:00:03 +08:00
Stephen Chung
10f334dbf3
Merge pull request #392 from schungx/master
Fix string parsing state.
2021-04-10 12:45:27 +08:00
Stephen Chung
716e9cf779 Fix string parsing state. 2021-04-10 11:11:42 +08:00
Stephen Chung
30cd7a7c7b
Merge pull request #391 from schungx/master
Fix string parsing.
2021-04-10 10:47:14 +08:00
Stephen Chung
42555ac732 Unify string continuation parsing. 2021-04-10 10:20:17 +08:00
Stephen Chung
4aaf957d73 Gate doc-comment tokenizing. 2021-04-09 23:13:33 +08:00
Stephen Chung
29d186b361 Put doc-comments under metadata flag. 2021-04-09 22:49:47 +08:00
Stephen Chung
2b1555cff8 Refine example scripts. 2021-04-09 22:48:47 +08:00
Stephen Chung
cb596a0fc3
Merge pull request #390 from schungx/master
Fix f32_feature + serde.
2021-04-06 23:36:48 +08:00
Stephen Chung
0f2e7e3825 Fix builds and tests. 2021-04-06 23:28:22 +08:00
Stephen Chung
f17a826f99 Refine debug print-out. 2021-04-06 23:18:41 +08:00
Stephen Chung
7ec49a9510 Fix f32_feature with serde. 2021-04-06 23:18:28 +08:00
Stephen Chung
131147c65d Optimize Fn construct. 2021-04-06 12:26:38 +08:00
Stephen Chung
d3cfb3c605 Optimize position in variable access. 2021-04-05 23:59:15 +08:00
Stephen Chung
94fc5af285 Store short index in variable access. 2021-04-05 23:06:48 +08:00
Stephen Chung
a3ee0f4245 Fix no_index build. 2021-04-05 18:32:20 +08:00
Stephen Chung
f5d3a0ef4f Promote expr block. 2021-04-05 14:57:07 +08:00
Stephen Chung
00784d39ad PropertyExpected for map literal with interpolated key. 2021-04-05 14:51:26 +08:00
Stephen Chung
26bb88974a Add function for string + char. 2021-04-05 00:10:08 +08:00
Stephen Chung
e6ea006ac6 Fix builds. 2021-04-05 00:05:56 +08:00
Stephen Chung
8956a77c8c Add new state in TokenizeState to switch back to text mode. 2021-04-04 23:23:10 +08:00
Stephen Chung
0807c474a1 Revise using string interpolation. 2021-04-04 23:22:45 +08:00
Stephen Chung
bc9c1ab850 Add external control interface for tokenizer. 2021-04-04 23:08:27 +08:00
Stephen Chung
aacb7f0b24 Ensure no interpolation for normal strings. 2021-04-04 15:37:59 +08:00
Stephen Chung
ebc83099ee
Merge pull request #388 from schungx/master
String interpolation.
2021-04-04 15:29:49 +08:00
Stephen Chung
20aaf1826a Fix builds. 2021-04-04 15:06:13 +08:00
Stephen Chung
e6c878edf3 Implement string interpolation. 2021-04-04 13:13:07 +08:00
Stephen Chung
ab0ea87f9c Allow sync in test. 2021-04-03 12:10:08 +08:00
Stephen Chung
fa63f2a0ae
Merge pull request #387 from schungx/master
Fix property setter op-assignment bug.
2021-04-03 12:04:26 +08:00
Stephen Chung
b1452f4c35 Fix no_object build. 2021-04-03 12:00:22 +08:00
Stephen Chung
f7ad1cec39 Fix builds. 2021-04-03 11:49:16 +08:00
Stephen Chung
b089d5b8f4 Fix bug in property setter op-assignment. 2021-04-03 11:12:35 +08:00
Stephen Chung
a738f750f9 Implement string functions with to_string/to_debug. 2021-04-02 19:26:55 +08:00
Stephen Chung
1866331e7b Unsafe code statement. 2021-04-02 14:38:20 +08:00
Stephen Chung
889edbef71 Allow cross-loading of relative file paths in FileModuleResolver. 2021-04-02 12:34:39 +08:00
Stephen Chung
294d233c02 Bump version. 2021-03-31 17:01:08 +08:00
Stephen Chung
d564a66869 Change rhai dependency. 2021-03-31 16:48:46 +08:00
Stephen Chung
42fff105ea Change fibonacci sample to run 5 times. 2021-03-31 16:17:26 +08:00
Stephen Chung
fb633f67e2
Merge pull request #385 from schungx/master
Fix no_index+no_object build.
2021-03-31 12:37:17 +08:00
Stephen Chung
35394e170a Move flags into include. 2021-03-31 10:30:52 +08:00
Stephen Chung
961e5a6cd8 Add metadata flag to codegen tests. 2021-03-31 10:27:53 +08:00
Stephen Chung
98afb2e7d6 Fix feature builds. 2021-03-31 10:16:38 +08:00