mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Preprend every definition line type with a colon, remove function decorator, add immediately ran definition line
This commit is contained in:
parent
7b756ad092
commit
d1f49d1894
117 changed files with 686 additions and 658 deletions
|
|
@ -422,21 +422,21 @@ lua_functions = {
|
|||
}
|
||||
|
||||
local anselme_functions = [[
|
||||
$ random(l...)
|
||||
:$ random(l...)
|
||||
~ l(rand(1, l!len))!
|
||||
|
||||
$ next(l...)
|
||||
:$ next(l...)
|
||||
:j = 0
|
||||
~? j += 1; j < len(l) & l(j).👁️ != 0
|
||||
~ l(j)!
|
||||
|
||||
$ cycle(l...)
|
||||
:$ cycle(l...)
|
||||
:f = l(1)
|
||||
:j = 1
|
||||
~? j += 1; j <= len(l) & !((f := l(j); 1) ~ l(j).👁️ < f.👁️)
|
||||
~ f!
|
||||
|
||||
$ concat(l::list, separator=""::string)
|
||||
:$ concat(l::list, separator=""::string)
|
||||
:r = ""
|
||||
:j = 0
|
||||
~? j += 1; j <= len(l)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue