mirror of https://github.com/tbklang/tlang.git
SymbolType to Str mapping #67
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#67
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 it?
It would be nice to have a way to map between
SymbolType
and the associated string. Like an actual map because the current method is very much a manual situation ofgetSymbolType(string)
andgetCharacter(SymbolType)
- I would much prefer this to be automated for the most part.We may still need a
getSymbolType(string)
as some checks are not constant but everything else can fall back to the mapping structure (as there is no inverse map for SymbolType to identifiers).Premature optimization.