1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
Commit graph

201 commits

Author SHA1 Message Date
760181eaf9 [stdlib] Add keep return(function) 2024-01-09 18:06:04 +01:00
87afa51baa [language] Remove _|>_ operator, replace with *_ 2024-01-09 18:05:45 +01:00
51eff0627f [stdlib] Add is false, is true 2024-01-09 17:23:45 +01:00
95d69dfa2c Add Struct:get_strict 2024-01-09 17:23:26 +01:00
5d000e2fec Rename type check to value check 2024-01-09 16:57:43 +01:00
c027c87dc4 Reuse a global state with standard library already loaded in tests, and associated branch handling fixes 2024-01-08 22:23:50 +01:00
8ff082625a Add parse_file and run_file to Lua API 2024-01-08 19:39:13 +01:00
bd93dc43dc Add file loading functions to stdlib 2024-01-08 19:28:14 +01:00
8562e8f18b Allow function call with tuple and struct without parentheses 2024-01-08 16:41:44 +01:00
51ad18c5a4 LuaFunction cleanup: replace by LuaCall 2024-01-07 20:31:28 +01:00
85d17e9519 Add stdlib frFR translation 2024-01-07 18:25:13 +01:00
67c952bc21 Allow adding overload to overload 2024-01-07 18:22:55 +01:00
f198286870 Serialize function scope 2024-01-06 16:24:49 +01:00
b004946266 Error reporting improvements for functions & overloads 2024-01-06 15:14:32 +01:00
7f71569e07 Prefix type checkers with "is", stdlib cleanup 2024-01-06 15:00:08 +01:00
98917c2ca4 Update doc 2024-01-05 01:52:21 +01:00
efb99a9ed7 Add for loops 2024-01-05 01:36:37 +01:00
a212dd7fd1 stdlib cleanup 2024-01-04 20:45:23 +01:00
dac5b74fa6 Add stdlib functions from anselme v1 2024-01-04 20:22:18 +01:00
581c60048d Improve translation template generation, only add the source context if needed 2024-01-04 19:16:22 +01:00
41f85181a3 Overload cleanup 2024-01-03 22:12:46 +01:00
9a38dfa34f Persist LuaFunctions & add tests 2024-01-03 19:47:28 +01:00
a46ac380e8 Only serialize referenced upvalues in function serialization 2024-01-03 17:59:44 +01:00
289f10b3c5 Branch serialization only keep current branch 2024-01-03 17:46:29 +01:00
82b68e09a3 Update tests 2024-01-03 16:46:12 +01:00
f372a32b48 Improve resuming from nested choices 2024-01-03 16:45:53 +01:00
d1818d10b1 Closures are not affected by following redefinitions of upvalues 2024-01-03 16:44:12 +01:00
3d10b1b15c Rework variable undefinition 2024-01-03 16:41:35 +01:00
93dadb3b5d Add interactive mode for test runner 2024-01-03 13:49:51 +01:00
12c32bb8a2 Cleaning 2024-01-03 13:49:24 +01:00
4c76ef5f96 Cache variable lookup
About 10% performance improvement.
2024-01-03 01:18:18 +01:00
ba1824a904 Operator priority cleanup 2024-01-02 17:25:10 +01:00
68a109391f Hide internal nodes from stack trace 2024-01-02 15:06:24 +01:00
5ff178b54c Remove useless _hash redefinition 2024-01-02 14:36:35 +01:00
15f29e3bce Undefine _ in attached block 2024-01-02 14:35:18 +01:00
a85e7ab0af Update tests 2024-01-02 00:36:10 +01:00
a79b054bfb Add break and continue 2024-01-02 00:34:59 +01:00
e71096cab7 Remove ~, ~?, and @ operators and replace with function calls 2024-01-02 00:34:30 +01:00
7635261a3f Reset randomseed before each test 2024-01-02 00:32:08 +01:00
c2bec6f5d2 Merge Closure into Function and add calling_environment_manager 2024-01-02 00:31:32 +01:00
18dd3ad6bd Remove -> operator 2024-01-01 17:51:33 +01:00
1eceadafc6 Bump version
And happy new year.
2023-12-31 20:19:41 +01:00
861877503a Comments: switch from (( to /* delimiters
Double parentheses turned out to conflict too often with normal code. I guess sometimes I shouldn't try to make my own syntax up.
2023-12-31 19:54:54 +01:00
9e73269cda Update doc 2023-12-31 19:43:44 +01:00
43a745a7a9 Final test batch and associated fixes 2023-12-31 19:41:14 +01:00
050c84921c Add identifier wrap for aliases 2023-12-31 14:55:28 +01:00
409a2e7095 Firth test batch and associated fixes 2023-12-31 14:30:14 +01:00
aa8dfbd498 Fix interleaved text and choices 2023-12-31 14:25:37 +01:00
4125a4c99b Script/checkpoint system first draft 2023-12-31 00:47:55 +01:00
0a835a65d8 Fourth test batch 2023-12-30 23:45:30 +01:00