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:
parent
8562e8f18b
commit
bd93dc43dc
10 changed files with 82 additions and 5 deletions
8
test/results/load file error.ans
Normal file
8
test/results/load file error.ans
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31mno variable "b" defined in environment[0m
|
||||
↳ from [4mtest/tests/load file error.ans:3:4[0m in call: [2me . "b"[0m[0m
|
||||
↳ from [4mtest/tests/load file error.ans:3:1[0m in text interpolation: [2m| {e . "b"} |[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:e = load("test/tests/import/test.ans")…[0m
|
||||
--# saved #--
|
||||
{}
|
||||
9
test/results/load file import.ans
Normal file
9
test/results/load file import.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"1" {}"" |
|
||||
--- text ---
|
||||
| {}"" {}"3" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
9
test/results/load file.ans
Normal file
9
test/results/load file.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"1" {}"" |
|
||||
--- text ---
|
||||
| {}"" {}"3" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
Loading…
Add table
Add a link
Reference in a new issue