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:
parent
5836eb2a1d
commit
13ce7a2efa
122 changed files with 68 additions and 418 deletions
|
|
@ -20,5 +20,6 @@ merge branch!
|
|||
l!insert(5)
|
||||
|
||||
|1,2,3,4,5: {l}
|
||||
---
|
||||
|
||||
error("cancel merge")
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@ merge branch!
|
|||
l = 4
|
||||
|
||||
|4: {l}
|
||||
|
||||
---
|
||||
error("cancel merge")
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
| no
|
||||
*| ne
|
||||
| ok
|
||||
|
||||
---
|
||||
choice = 1
|
||||
*| ho
|
||||
| plop
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
*| No
|
||||
|ko
|
||||
:@choice = 1
|
||||
|
||||
---
|
||||
*| Other
|
||||
|ok
|
||||
*| Use {move axis!} to move.
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@
|
|||
f!
|
||||
*| c
|
||||
()
|
||||
|
||||
---
|
||||
"k":"v" #
|
||||
f!
|
||||
*| d
|
||||
()
|
||||
| e
|
||||
|
||||
---
|
||||
| f
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@
|
|||
f.:x = 42
|
||||
|
||||
|{f.x}
|
||||
|
||||
---
|
||||
|{f.y}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
weigh = 12!type("kg")
|
||||
|
||||
|{weigh}
|
||||
|
||||
---
|
||||
weigh = 32
|
||||
|
||||
|{weigh}
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@
|
|||
f!
|
||||
|
||||
|{x}
|
||||
|
||||
---
|
||||
|{z}
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@
|
|||
a("pierre"!type(french name))
|
||||
|
||||
a("idk"!type(esperanto name))
|
||||
|
||||
---
|
||||
a(5!type("nope"))
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ x(-1) = 12
|
|||
x(3) = 99
|
||||
|
||||
|{x}
|
||||
|
||||
---
|
||||
x(5) = 0
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@
|
|||
|{x(2)} == {x(-2)}
|
||||
|
||||
|{x(3)} == {x(-1)}
|
||||
|
||||
---
|
||||
|{x(-4)}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
:i = 0
|
||||
|
||||
while($()(i += 1; i <= 10), $| {i} |!)
|
||||
|
||||
---
|
||||
|{i}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
if(1)
|
||||
|a
|
||||
|
||||
---
|
||||
|b
|
||||
|
||||
---
|
||||
if(1)
|
||||
|c
|
||||
|d
|
||||
|
||||
---
|
||||
if(1)
|
||||
|e
|
||||
|
||||
---
|
||||
*| f
|
||||
()
|
||||
:@choice = 1
|
||||
|
||||
---
|
||||
if(1)
|
||||
|g
|
||||
*| h
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
*| b
|
||||
|-> b
|
||||
choice = 2
|
||||
|
||||
---
|
||||
*| c
|
||||
|-> c
|
||||
choice=1
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@
|
|||
:&d::constant = "{l(2)}"
|
||||
|
||||
| d={c} (2)
|
||||
|
||||
---
|
||||
d = 5
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@
|
|||
return(" joystick")
|
||||
|
||||
| Press {jump button!} to jump.
|
||||
|
||||
---
|
||||
| Use {move axis!} to move.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue