mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Persist LuaFunctions & add tests
This commit is contained in:
parent
a46ac380e8
commit
9a38dfa34f
11 changed files with 108 additions and 19 deletions
10
test/tests/serialize function.ans
Normal file
10
test/tests/serialize function.ans
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
:f = ()
|
||||
_
|
||||
:$_+_(a::string, b)
|
||||
"{a}{b}"
|
||||
|
||||
:a=1
|
||||
f = $(x)
|
||||
x+a
|
||||
|
||||
|{(f!serialize!deserialize)("bar")}
|
||||
Loading…
Add table
Add a link
Reference in a new issue