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

Add file loading functions to stdlib

This commit is contained in:
Étienne Fildadut 2024-01-08 19:28:14 +01:00
parent 8562e8f18b
commit bd93dc43dc
10 changed files with 82 additions and 5 deletions

View file

@ -0,0 +1,8 @@
--# run #--
--- error ---
no variable "b" defined in environment
↳ from test/tests/load file error.ans:3:4 in call: e . "b"
↳ from test/tests/load file error.ans:3:1 in text interpolation: | {e . "b"} |
↳ from ? in block: :e = load("test/tests/import/test.ans")…
--# saved #--
{}

View file

@ -0,0 +1,9 @@
--# run #--
--- text ---
| {}"" {}"1" {}"" |
--- text ---
| {}"" {}"3" {}"" |
--- return ---
()
--# saved #--
{}

View file

@ -0,0 +1,9 @@
--# run #--
--- text ---
| {}"" {}"1" {}"" |
--- text ---
| {}"" {}"3" {}"" |
--- return ---
()
--# saved #--
{}