mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Update builtin scripts
This commit is contained in:
parent
fe897688d6
commit
f0ecfbb43b
3 changed files with 19 additions and 19 deletions
|
|
@ -1,16 +1,16 @@
|
|||
-- Script run when creating a VM
|
||||
return [[
|
||||
(Built-in type definition)
|
||||
:nil="nil"
|
||||
:number="number"
|
||||
:string="string"
|
||||
:list="list"
|
||||
:map="map"
|
||||
:pair="pair"
|
||||
:function reference="function reference"
|
||||
:variable reference="variable reference"
|
||||
:object="object"
|
||||
:annotated="annotated"
|
||||
::nil="nil"
|
||||
::number="number"
|
||||
::string="string"
|
||||
::list="list"
|
||||
::map="map"
|
||||
::pair="pair"
|
||||
::function reference="function reference"
|
||||
::variable reference="variable reference"
|
||||
::object="object"
|
||||
::annotated="annotated"
|
||||
|
||||
:pi=3.1415926535898
|
||||
::pi=3.1415926535898
|
||||
]]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
return [[
|
||||
(Built-in variables)
|
||||
:alias 👁️ = "seen"
|
||||
:alias 🔖 = "checkpoint"
|
||||
:alias 🏁 = "reached"
|
||||
::alias 👁️ = "seen"
|
||||
::alias 🔖 = "checkpoint"
|
||||
::alias 🏁 = "reached"
|
||||
]]
|
||||
|
|
|
|||
|
|
@ -4,13 +4,14 @@ return [[
|
|||
~ &number!alias("nombre")
|
||||
~ &string!alias("texte")
|
||||
~ &list!alias("liste")
|
||||
~ &map!alias("dictionnaire")
|
||||
~ &pair!alias("paire")
|
||||
~ &function reference!alias("réference de fonction")
|
||||
~ &variable reference!alias("réference de variable")
|
||||
~ &object!alias("objet")
|
||||
~ &annotated!alias("annoté")
|
||||
|
||||
(Built-in functions)
|
||||
(~ &alias!alias("alias")
|
||||
~ &name!alias("nom")
|
||||
~ &value!alias("valeur")
|
||||
~ &len!alias("longueur")
|
||||
|
|
@ -19,7 +20,6 @@ return [[
|
|||
~ &find!alias("trouver")
|
||||
~ &error!alias("erreur")
|
||||
~ &rand!alias("aléa")
|
||||
~ &raw!alias("brut")
|
||||
~ &is a!alias("est un")
|
||||
~ &unannotated!alias("non annoté")
|
||||
~ &cycle!alias("cycler")
|
||||
|
|
@ -27,7 +27,7 @@ return [[
|
|||
~ &next!alias("séquence")
|
||||
|
||||
(Built-in variables)
|
||||
:alias 👁️ = "vu"
|
||||
:alias 🔖 = "checkpoint"
|
||||
:alias 🏁 = "atteint"
|
||||
::alias 👁️ = "vu"
|
||||
::alias 🔖 = "checkpoint"
|
||||
::alias 🏁 = "atteint"
|
||||
]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue