🐐 Snippets
BIN
snippets/aeternvm.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.1 KiB |
1
snippets/destructure_array.cent
Normal file
@@ -0,0 +1 @@
|
||||
DESIGNA a, b, c VT [I, II, III]
|
||||
BIN
snippets/destructure_array.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
2
snippets/destructure_fn.cent
Normal file
@@ -0,0 +1,2 @@
|
||||
DEFINI pair (a, b) VT { REDI (a, b) }
|
||||
DESIGNA x, y VT INVOCA pair (III, VII)
|
||||
BIN
snippets/destructure_fn.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
3
snippets/dict_access.cent
Normal file
@@ -0,0 +1,3 @@
|
||||
DICE(d["nomen"])
|
||||
DESIGNA d["aetas"] VT XXVI
|
||||
DESIGNA d["novus"] VT I
|
||||
BIN
snippets/dict_access.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
1
snippets/dict_create.cent
Normal file
@@ -0,0 +1 @@
|
||||
DESIGNA d VT TABVLA {"nomen" VT "Marcus", "aetas" VT XXV}
|
||||
BIN
snippets/dict_create.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
3
snippets/dict_per.cent
Normal file
@@ -0,0 +1,3 @@
|
||||
PER k IN d FACE {
|
||||
DICE(k)
|
||||
}
|
||||
BIN
snippets/dict_per.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
4
snippets/string_interp.cent
Normal file
@@ -0,0 +1,4 @@
|
||||
DESIGNA nomen VT "Marcus"
|
||||
DICE("Salve, {nomen}!")
|
||||
DICE("Sum: {III + IV}")
|
||||
DICE("{nomen} has {V} cats")
|
||||
BIN
snippets/string_interp.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
@@ -9,8 +9,8 @@ contexts:
|
||||
main:
|
||||
- include: comments
|
||||
- include: strings
|
||||
- include: fractions
|
||||
- include: keywords
|
||||
- include: fractions
|
||||
- include: numerals
|
||||
- include: constants
|
||||
- include: builtins
|
||||
|
||||