Commit Graph

3643 Commits

Author SHA1 Message Date
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
Stephen Chung
a049f7b5ba Optimize data structures. 2021-03-30 23:55:29 +08:00
Stephen Chung
6eb6e07d57 Remove metadata from codegen dependency. 2021-03-30 22:30:02 +08:00
Stephen Chung
04625fb752 Add literal string and continuation example. 2021-03-30 21:33:30 +08:00
Stephen Chung
b14d18934a Add Dynamic::clone_cast. 2021-03-30 18:57:16 +08:00
Stephen Chung
ec7b906f71 Patah smartstring for no-std. 2021-03-30 18:06:58 +08:00
Stephen Chung
e36e490a30 Support back-tick at EOL for literal strings. 2021-03-30 13:59:27 +08:00
Stephen Chung
d756b7bac6 Rename FnWrongDefinition to WrongFnDefinition. 2021-03-30 11:39:00 +08:00
Stephen Chung
5730b0a26a
Merge pull request #382 from schungx/master
SmartString for identifiers, plus literal strings.
2021-03-30 09:31:58 +08:00
Stephen Chung
d2ded7733a Add support for line continuation and multi-line string literals. 2021-03-30 00:21:09 +08:00
Stephen Chung
3a6e6848fd Fix serde build. 2021-03-29 18:46:32 +08:00
Stephen Chung
e306a92ea0 Change Map keys to Identifier. 2021-03-29 17:14:22 +08:00
Stephen Chung
41b48d591f Change to no_smartstring feature. 2021-03-29 17:13:54 +08:00
Stephen Chung
07efdddba3 Add smartstring default feature. 2021-03-29 13:40:33 +08:00
Stephen Chung
fc6c5ecd00 Fix no_closure builds. 2021-03-29 13:07:10 +08:00
Stephen Chung
c0b2eee9f2 Fix syn regression. 2021-03-29 12:46:46 +08:00
Stephen Chung
60f8a7f91c Remove Float trait. 2021-03-29 11:36:15 +08:00
Stephen Chung
e5249cc1ae Extract Identifier type. 2021-03-29 11:36:02 +08:00
Stephen Chung
241f5abe10 Change function call name into ImmutableString from Cow<str>. 2021-03-28 23:06:59 +08:00
Stephen Chung
7bdc2e3d20 Extract constant arguments from function calls. 2021-03-28 19:04:25 +08:00
Stephen Chung
6829518eb9
Merge pull request #379 from schungx/master
Gate metadata methods and support shebangs in scripts.
2021-03-28 17:16:19 +08:00
Stephen Chung
8e8c367034 Update deprecated methods with since attribute. 2021-03-28 17:04:16 +08:00
Stephen Chung
7825cb1c56 Support shebangs in scripts. 2021-03-28 16:36:56 +08:00
Stephen Chung
ea970631ff Fix test formatting. 2021-03-27 18:08:34 +08:00
Stephen Chung
47588f9784 Fix codegen tests. 2021-03-27 08:12:13 +08:00
Stephen Chung
0afc2a0842 Reverse Module::set_plugin_fn. 2021-03-26 18:41:28 +08:00
Stephen Chung
33f88dc813 Fix sync build. 2021-03-26 16:57:28 +08:00
Stephen Chung
c443c3bb48 Gate codegen metadata output under metadata feature. 2021-03-26 10:59:34 +08:00
Stephen Chung
8ea218f907 Metadata pulls in serde. 2021-03-25 19:49:30 +08:00
Stephen Chung
05ddeb0d9e
Merge pull request #376 from schungx/master
Put functions metadata under metadata feature gate.
2021-03-25 18:58:47 +08:00
Stephen Chung
adbb5f8eb8 Use static array for codegen parameters info. 2021-03-25 14:02:50 +08:00
Stephen Chung
1d661f2c8e Fix decimal build. 2021-03-24 22:26:07 +08:00
Stephen Chung
ac7f35cacb Move all functions metadata into metadata feature. 2021-03-24 19:27:38 +08:00
Stephen Chung
c4fe1782df Streamline string handling. 2021-03-24 13:17:52 +08:00
Stephen Chung
3a1e93e324 Fix no_std build. 2021-03-24 10:38:56 +08:00
Stephen Chung
3d0d5d1708 Streamline code. 2021-03-24 10:02:50 +08:00
Stephen Chung
6d1700728a Intern module registration strings. 2021-03-24 09:56:25 +08:00
Stephen Chung
0d7f2c16cc Reduce indirections. 2021-03-23 20:04:54 +08:00
Stephen Chung
77a71dbbf0
Merge pull request #375 from schungx/master
Change HashMap to BTreeMap.
2021-03-23 18:26:46 +08:00
Stephen Chung
f9429c06f9 Use template for object map literal. 2021-03-23 18:25:40 +08:00
Stephen Chung
f70225ca1d Change HashMap to BTreeMap. 2021-03-23 12:13:53 +08:00