mirror of https://github.com/tbklang/tlang.git
⚡ Feature: Annotations #156
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tlang/tlang#156
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?
TO add support for annotations. This will require:
SymbolType
as the entering symbol (if one hasn't been declared for it yet)Statement
-type (a sub-type of it), call itAnnotation
and probably place it indata.d
(just ask me)parseAnnotation()
we must place the `Annotation on the top of the stackparseStruct()
can check ifhasAnnotationsOnStack()
and if sopopAnnotation()
, check what it contains and if it is fine then continue (attach that info to the struct for example)Todo
docs_src/
(in the docs repo) there is a blank file for annotations. It is there where docs should be placed.