mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Third test batch
This commit is contained in:
parent
3edf65dc2a
commit
0eea4b80a6
7 changed files with 131 additions and 1 deletions
42
test/results/litterals.ans
Normal file
42
test/results/litterals.ans
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"numbers:" |
|
||||
| {}"" {}"0" {}"" |
|
||||
| {}"" {}"12" {}"" |
|
||||
| {}"" {}"0.87" {}"" |
|
||||
| {}"" {}"39.12" {}"" |
|
||||
--- text ---
|
||||
| {}"strings:" |
|
||||
| {}"" {}"foo" {}"" |
|
||||
--- text ---
|
||||
| {}"tuple:" |
|
||||
| {}"" {}"[4, 8, 9]" {}"" |
|
||||
--- text ---
|
||||
| {}"struct:" |
|
||||
| {}"" {}"{1:9, 2:8, 7:4}" {}"" |
|
||||
--- text ---
|
||||
| {}"symbols:" |
|
||||
| {}"" {}":ab" {}"" |
|
||||
--- text ---
|
||||
| {}"anchor:" |
|
||||
| {}"" {}"#jdfe" {}"" |
|
||||
| {}"" {}"#foo bar" {}"" |
|
||||
--- text ---
|
||||
| {}"boolean:" |
|
||||
| {}"" {}"false" {}"" |
|
||||
| {}"" {}"true" {}"" |
|
||||
--- text ---
|
||||
| {}"nil:" |
|
||||
| {}"" {}"()" {}"" |
|
||||
--- text ---
|
||||
| {}"pair:" |
|
||||
| {}"" {}"6:8" {}"" |
|
||||
| {}"" {}"\"d\":[]" {}"" |
|
||||
--- text ---
|
||||
| {}"function:" |
|
||||
| {}"" {}"($() 12)" {}"" |
|
||||
| {}"" {}"($(x) x)" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
Loading…
Add table
Add a link
Reference in a new issue