1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
Commit graph

24 commits

Author SHA1 Message Date
0195913dcc [doc] standard library documentation first draft 2024-06-01 13:53:13 +02:00
a631334b31 [doc] language reference first draft
I mean I don't really plan to do a second draft but it could be a lot better so let's pretend it's a only a draft.
2024-05-26 16:00:19 +02:00
69da1ff223 [stdlib] add tag(text, tags) 2024-05-20 23:43:07 +02:00
dee374d42f [doc] update 2024-05-19 20:00:27 +02:00
2a7e1a4be5 [internal] update notes 2024-04-29 22:33:32 +02:00
5d9af414fa [internal] ; operators now build a block instead of function call 2024-01-17 14:07:14 +01:00
6d9c3dd403 [language] add inline comments and allow multiline comments 2024-01-16 17:40:26 +01:00
a702f250f9 [language] allow multiline strings 2024-01-16 15:52:16 +01:00
5733b9f74b [language] error on undefined key in struct and table 2024-01-16 14:33:47 +01:00
78f3c6448e [language] allow multiline expression between (), [] and {} 2024-01-15 20:03:55 +01:00
b6473de4d2 [language] Add multiple assignments, assignment and definitions are now function calls 2024-01-11 01:36:47 +01:00
5d000e2fec Rename type check to value check 2024-01-09 16:57:43 +01:00
bd93dc43dc Add file loading functions to stdlib 2024-01-08 19:28:14 +01:00
98917c2ca4 Update doc 2024-01-05 01:52:21 +01:00
dac5b74fa6 Add stdlib functions from anselme v1 2024-01-04 20:22:18 +01:00
581c60048d Improve translation template generation, only add the source context if needed 2024-01-04 19:16:22 +01:00
a46ac380e8 Only serialize referenced upvalues in function serialization 2024-01-03 17:59:44 +01:00
ba1824a904 Operator priority cleanup 2024-01-02 17:25:10 +01:00
15f29e3bce Undefine _ in attached block 2024-01-02 14:35:18 +01:00
18dd3ad6bd Remove -> operator 2024-01-01 17:51:33 +01:00
9e73269cda Update doc 2023-12-31 19:43:44 +01:00
e2ec105a4b Update readme 2023-12-30 02:09:24 +01:00
9acde377c2 Update docs 2023-12-28 17:42:14 +01:00
fe351b5ca4 Anselme v2.0.0-alpha rewrite
Woke up and felt like changing a couple things. It's actually been worked on for a while, little at a time...

The goal was to make the language and implementation much simpler. Well I don't know if it really ended up being simpler but it sure is more robust.

Main changes:
* proper first class functions and closures supports! proper scoping rules! no more namespace shenanigans!
* everything is an expression, no more statements! make the implementation both simpler and more complex, but it's much more consistent now! the syntax has massively changed as a result though.
* much more organized and easy to modify codebase: one file for each AST node, no more random fields or behavior set by some random node exceptionally, everything should now follow the same API defined in ast.abstract.Node

Every foundational feature should be implemented right now. The vast majority of things that were possible in v2 are possible now; some things aren't, but that's usually because v2 is a bit more sane.
The main missing things before a proper release are tests and documentation. There's a few other things that might be implemented later, see the ideas.md file.
2023-12-22 13:25:28 +01:00