Commit Graph

31 Commits

Author SHA1 Message Date
Stephen Chung
67a7ab4069 Move encapsulated environment out of ScriptFnDef. 2022-12-12 16:06:24 +08:00
Stephen Chung
91f149270a Add link to scripted function definition. 2022-12-11 00:08:25 +08:00
Stephen Chung
3a028f2642 Move lib into global. 2022-11-10 11:49:10 +08:00
Stephen Chung
e93923b3b6 Move level into GlobalRuntimeState. 2022-11-08 21:28:20 +08:00
Stephen Chung
8904b19015 Fix data size. 2022-11-04 19:18:56 +08:00
Stephen Chung
91415b9750 Use ImmutableString in more places. 2022-10-29 14:59:20 +08:00
Stephen Chung
bf02d040e2 Use tokens to speed up function name lookup. 2022-09-25 23:03:18 +08:00
Stephen Chung
7a6ce2a35a Fix test on 32-bit architectures. 2022-09-22 17:20:57 +08:00
Stephen Chung
54a61bfe00 Pack Scope data more tightly. 2022-02-28 14:00:55 +08:00
Stephen Chung
b17e891b63 Reduce size of Token. 2022-02-26 23:18:47 +08:00
Stephen Chung
0d2e3d82f3 Reduce size of Stmt. 2022-02-16 17:51:14 +08:00
Stephen Chung
4a80483749 Support call stack and FunctionExit for native functions. 2022-02-02 14:47:35 +08:00
Stephen Chung
00b189d0c6 Replace Cow<str> in Scope with SmartString. 2022-01-15 11:26:43 +08:00
Stephen Chung
4b4a6c944d Fix test. 2022-01-12 11:01:03 +08:00
Stephen Chung
7cd76c6d18 Add language options. 2021-12-03 11:16:35 +08:00
Stephen Chung
d56585c877 Remove no_smartstring feature. 2021-11-27 14:24:36 +08:00
Stephen Chung
b2eb207ce4 Fix no_position builds. 2021-11-05 19:53:52 +08:00
Stephen Chung
affbb81d8a Add NativeCallContext::position. 2021-11-05 19:35:33 +08:00
Stephen Chung
84be799403 Change StaticVec to 3 inline elements. 2021-09-10 20:25:22 +08:00
Stephen Chung
09da9ddcbc Move unit tests into separate file. 2021-09-07 22:12:04 +08:00
russ
037a9cdc67 separated tests for mergability 2017-11-03 09:58:51 -07:00
Lukáš Hozda
17ebeeeb89 add a test for unary after new binary ops 2017-11-01 23:09:30 +01:00
russ
7f6edf732f resolved merge conflicts 2017-11-01 11:17:53 -07:00
russ
6cff70f2a3 binary, hex, octal literal types 2017-10-31 22:02:36 -07:00
russ
4fed05c20a bugfix for binary and, modulo, binary ops tests 2017-10-31 15:06:13 -07:00
russ
f1cd71a72b candidate compound assignment implementation 2017-10-30 22:55:20 -07:00
russ
e5e58fce98 sync'd latest master 2017-10-30 08:08:44 -07:00
russ
18c6892df3 take 2, 100% fewer variable name conflicts 2017-10-29 20:32:41 -07:00
russ
01666cefb9 candidate f64 support 2017-10-27 20:30:12 -07:00
Lukáš Hozda
13a3ba6f77 add a section about examples to README, add imports to tests.rs 2017-10-15 17:48:53 +02:00
Lukáš Hozda
597c2eda21 move tests to a separated module for clarity, lock test module behind #[cfg(test)] 2017-10-14 19:49:18 +02:00