1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-28 00:59:31 +00:00

Add alias() to define alias after definition; add frFR language file

This commit is contained in:
Étienne Fildadut 2021-06-05 01:30:40 +02:00
parent 198c06e2e8
commit 61e3143e9e
6 changed files with 91 additions and 23 deletions

View file

@ -30,6 +30,8 @@ Reserved symbols that are still not used as a line type: `^+-=</[]*{}|\_!?.,;)"&
* What does "fqm" means?
It means "fully qualified matriname", which is the same as a fully qualified name, but considers the hierarchy to be mostly mother-daugher based.
It has nothing to do with the fact I'm inept at writing acronyms and realized I wrote it wrong after using it for a whole year.
* Why are built-in anselme scripts stored in Lua files?
I believe it was to avoid reimplementing the require() file search algorithm myself.
* What's a "variant"?
One of the different forms of a same function with a given fqm. No idea why I chose "variant".
* Why emojis?
@ -54,9 +56,6 @@ Disadvantages:
* idk if it's worth the trouble
* could do something like `$ ()(l::list(?), i::number)::?`, but then can't return nil on not found...
TODO: allow to define aliases after the initial definition
~ alias(number, "nombre")
TODO: ensure that most stuff in the state stays consistent after an error was thrown
TODO: way to migrate save files