mirror of https://github.com/tbklang/tlang.git
Annotations support #91
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tlang/tlang#91
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is this?
TODO: The following:
null
, else return the instance of the annotationStatement
objectsI think we can easily implement both the declaration of user-defined annotations and the annotation decorators easily.
The latter we use a stack of string name references each time we see it. Then any entity which can accept an annotation - when being parsed - can check if the stack is empty, if not, pop off, and attach.
Then in meta-processor we process them (look them up by their name).
These are just rough ideas but I think this could work.
Closing this for now due to #156 being the new issue for tracking this