masak / alma

ALgoloid with MAcros -- a language with Algol-family syntax where macros take center stage
Artistic License 2.0
139 stars 15 forks source link

[WIP] Change from traits to decorators #505

Open masak opened 5 years ago

masak commented 5 years ago

Do not merge yet. All the tests pass and the syntax works, but I feel I have some ways to go in order to make traits as lexical as they should be. Right now they work by string matching, which is too icky to merge.

Figured I'll put this up as a PR. I've been having it as a local branch for ages. The language documentation already assumed we're on decorators, and so I should really finish this one up and merge it.

Closes #257.