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

[language] allow multiline expression between (), [] and {}

This commit is contained in:
Étienne Fildadut 2024-01-15 20:02:40 +01:00
parent 1ea06c63eb
commit 78f3c6448e
44 changed files with 291 additions and 147 deletions

View file

@ -0,0 +1,13 @@
--# run #--
--- text ---
| {}"" {}"{1:1, 2:2, 3:4, 4:6}" {}"" |
--- text ---
| {}"" {}"{1:1, 2:2, 3:4, 4:6}" {}"" |
--- text ---
| {}"" {}"{}" {}"" |
--- text ---
| {}"" {}"{1:1, 2:2, 3:4, 4:3, 5:9, 6:6}" {}"" |
--- return ---
()
--# saved #--
{}

View file

@ -0,0 +1,13 @@
--# run #--
--- text ---
| {}"" {}"[1, 2, 4, 6]" {}"" |
--- text ---
| {}"" {}"[1, 2, 4, 6]" {}"" |
--- text ---
| {}"" {}"[]" {}"" |
--- text ---
| {}"" {}"[1, 2, 4, 3, 9, 6]" {}"" |
--- return ---
()
--# saved #--
{}

View file

@ -0,0 +1,13 @@
--# run #--
--- text ---
| {}"" {}"[1, 2, 4, 6]" {}"" |
--- text ---
| {}"" {}"[1, 2, 4, 6]" {}"" |
--- text ---
| {}"" {}"()" {}"" |
--- text ---
| {}"" {}"[1, 2, 4, 3, 9, 6]" {}"" |
--- return ---
()
--# saved #--
{}

View file

@ -0,0 +1,15 @@
|{{1,2,4,
6}}
|{{
1,2,4
,6}}
|{{
}}
|{{1,2,4,
/* hey */3,
9
/* hoy
,6}}

View file

@ -0,0 +1,15 @@
|{[1,2,4,
6]}
|{[
1,2,4
,6]}
|{[
]}
|{[1,2,4,
/* hey */3,
9
/* hoy
,6]}

View file

@ -0,0 +1,15 @@
|{(1,2,4,
6)}
|{(
1,2,4
,6)}
|{(
)}
|{(1,2,4,
/* hey */3,
9
/* hoy
,6)}