core-lang / core

The Core Programming Language
https://core-lang.dev
MIT License
45 stars 1 forks source link

make "internal" annotations more standard-library-defined #20

Open soc opened 2 years ago

soc commented 2 years ago

Currently "internal" annotations look like annotations, but are hard-coded into the parser.

Instead annotation definitions from the standard library should be parsed and its usages resolved. Their special meaning should be handled in later compiler phases.