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

[language] flush literals are now --- instead of empty lines

Empty lines could lead to unexpected flushes, for example when calling another function where empty lines are used for code presentation.
This commit is contained in:
Étienne Fildadut 2024-04-30 23:00:14 +02:00
parent 5836eb2a1d
commit 13ce7a2efa
122 changed files with 68 additions and 418 deletions

View file

@ -20,5 +20,6 @@ merge branch!
l!insert(5)
|1,2,3,4,5: {l}
---
error("cancel merge")

View file

@ -20,5 +20,5 @@ merge branch!
l = 4
|4: {l}
---
error("cancel merge")

View file

@ -3,7 +3,7 @@
| no
*| ne
| ok
---
choice = 1
*| ho
| plop

View file

@ -11,7 +11,7 @@
*| No
|ko
:@choice = 1
---
*| Other
|ok
*| Use {move axis!} to move.

View file

@ -8,11 +8,11 @@
f!
*| c
()
---
"k":"v" #
f!
*| d
()
| e
---
| f

View file

@ -4,31 +4,31 @@ if(1)
*| b
| -> b
:@choice = 1
---
if(1, $*| a)
| -> a
*| b
| -> b
choice = 2
---
if((), $*| a)
| -> a
*| b
| -> b
choice = 1
---
*| a
| -> a
25 # *| b
| -> b
choice = 2
---
12 # if((), $*| a)
| -> a
3 # *| b
| -> b
choice = 1
---
12 # if(1, $*| a)
| -> a
3 # *| b

View file

@ -8,5 +8,5 @@
f.:x = 42
|{f.x}
---
|{f.y}

View file

@ -5,7 +5,7 @@
weigh = 12!type("kg")
|{weigh}
---
weigh = 32
|{weigh}

View file

@ -8,5 +8,5 @@
f!
|{x}
---
|{z}

View file

@ -10,5 +10,5 @@
a("pierre"!type(french name))
a("idk"!type(esperanto name))
---
a(5!type("nope"))

View file

@ -17,5 +17,5 @@ x(-1) = 12
x(3) = 99
|{x}
---
x(5) = 0

View file

@ -7,5 +7,5 @@
|{x(2)} == {x(-2)}
|{x(3)} == {x(-1)}
---
|{x(-4)}

View file

@ -1,5 +1,5 @@
:i = 0
while($()(i += 1; i <= 10), $| {i} |!)
---
|{i}

View file

@ -1,19 +1,19 @@
if(1)
|a
---
|b
---
if(1)
|c
|d
---
if(1)
|e
---
*| f
()
:@choice = 1
---
if(1)
|g
*| h

View file

@ -11,7 +11,7 @@
*| b
|-> b
choice = 2
---
*| c
|-> c
choice=1

View file

@ -8,5 +8,5 @@
:&d::constant = "{l(2)}"
| d={c} (2)
---
d = 5

View file

@ -1,38 +1,38 @@
| A
| A
| A
---
"group": 1 #
| B
| B
| B
---
"group": 1 #
| C
"group": 1 #
| C
"group": 3 #
| D
---
"group": 1 #
| E
"group": "j" #
| F
"group": 1 #
| G
---
"group": 1 #
| H
| I
"group": 1 #
| J
---
"group": 1 #
| K
| L
"not group": 1 #
| L
---
| M
"group": "j" #
| N

View file

@ -1,15 +1,15 @@
:$ jump button
1 #
| A
---
return!
:$ move axis
1 #
| left
---
return(" joystick")
| Press {jump button!} to jump.
---
| Use {move axis!} to move.

View file

@ -7,5 +7,5 @@
return(" joystick")
| Press {jump button!} to jump.
---
| Use {move axis!} to move.