mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Bump version, update doc
This commit is contained in:
parent
04c6683de8
commit
037654ebcf
5 changed files with 36 additions and 25 deletions
|
|
@ -1,5 +1,6 @@
|
|||
local truthy, anselme, compare, is_of_type, identifier_pattern, format_identifier, find, get_variable
|
||||
|
||||
--- mark a table as modified, so it will be merged on the next checkpoint if it appears somewhere in a value
|
||||
local function mark_as_modified(v)
|
||||
local modified = getmetatable(anselme.running.state.variables).modified_tables
|
||||
table.insert(modified, v)
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
return [[
|
||||
(Types)
|
||||
~ "nil".alias("nul")
|
||||
~ "number".alias("nombre")
|
||||
~ "string".alias("texte")
|
||||
~ "list".alias("liste")
|
||||
~ "pair".alias("paire")
|
||||
~ "nil"!alias("nul")
|
||||
~ "number"!alias("nombre")
|
||||
~ "string"!alias("texte")
|
||||
~ "list"!alias("liste")
|
||||
~ "pair"!alias("paire")
|
||||
|
||||
(Built-in functions)
|
||||
(~ "alias".alias("alias")
|
||||
~ "name".alias("nom")
|
||||
~ "value".alias("valeur")
|
||||
~ "len".alias("longueur")
|
||||
~ "insert".alias("ajouter")
|
||||
~ "remove".alias("retirer")
|
||||
~ "find".alias("trouver")
|
||||
~ "error".alias("erreur")
|
||||
~ "rand".alias("aléa")
|
||||
~ "raw".alias("brut")
|
||||
(~ "type".alias("type")
|
||||
~ "is of type".alias("est de type")
|
||||
~ "cycle".alias("cycler")
|
||||
~ "random".alias("aléatoire")
|
||||
~ "next".alias("séquence")
|
||||
(~ "alias"!alias("alias")
|
||||
~ "name"!alias("nom")
|
||||
~ "value"!alias("valeur")
|
||||
~ "len"!alias("longueur")
|
||||
~ "insert"!alias("ajouter")
|
||||
~ "remove"!alias("retirer")
|
||||
~ "find"!alias("trouver")
|
||||
~ "error"!alias("erreur")
|
||||
~ "rand"!alias("aléa")
|
||||
~ "raw"!alias("brut")
|
||||
(~ "type"!alias("type")
|
||||
~ "is of type"!alias("est de type")
|
||||
~ "cycle"!alias("cycler")
|
||||
~ "random"!alias("aléatoire")
|
||||
~ "next"!alias("séquence")
|
||||
|
||||
(Built-in variables)
|
||||
:alias 👁️ = "vu"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue