mirror of https://github.com/tbklang/tlang.git
Comment support #84
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
1 Participants
Notifications
Total Time Spent: 51 minutes 10 seconds
Due Date
deavmi
51 minutes 10 seconds
Blocks
#144 ⚡ Feature: Lexer improvements
tlang/tlang
Reference: tlang/tlang#84
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?
We need to add support for comments, we need to look at the following:
I think we should implement this at the lexer level, in the case of a single line comment we want to effectively have it translate to one token:
Should be
["// Hello world"]
and not["//", "Hello", "World"]
Added new symbol types for multi-line comments and single line comments @gusmeyer
Using
ArrLexer
to test comments before we get @gusmeyer to actually implement comments in the lexerCompleted
Comment supportto Comment support in parserComment support in parserto Comment support