mirror of https://github.com/tbklang/tlang.git
⚡ Feature: Lexer improvements #144
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
1 Participants
Notifications
Due Date
Blocks
Depends on
#157 ⚡ Feature: Multi-module support
tlang/tlang
#121 🐞️ Bugfix: Tabs in lexer: Not handled
tlang/tlang
You do not have permission to read 2 dependencies
Reference: tlang/tlang#144
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 have a Grammar and I want to ensure that the lexer builds tokens accordingly and also figure out what is missing.
This leaves us with two main (immediate goals):
BasicLexer
Or it does Not yet implement everything stipulated in the grammar
21UL
etc.isNumericalEncoder(char character)
,isNumericalEncoder_Size(char character)
andisNumericalEncoder_Signage(char character)
isValidEscape_String(char)
\\
things etc required'\n'
)new A()\t.\tl . p.p;
2_100
[2100]
isSplitter(char)
,isOperator(char)
tocore/lexer.d
@deavmiMinutes
Some test notes:
Documentation
Updated the TODOs @gusmeyer
Added a TODO for #60 (this needs some discussing for you and me so we can leave this till later or whenever you think we should discuss it)
Updated
Parser
such that it now tests the call toparseComment()
from withinparseStatement()
(and not justparse()
) ✅The comments tests (in the
Parser
) now use Gustav'sBasicLexer
, and they all pass ✅@gusmeyer We need to update the grammar docs ❗
Bumping due date to end of August
Merging
vardec_varass_dependency
into here as #115 is now completed and should solve CI/CD failing...Merged, awaiting CI/CD...
CI/CD passed ✅
Branch is synced up ✅
Lexer improvementsto ⚡ Feature: Lexer improvementsUpdate with the latest base code from
vardec_varass_dependency
(unit tests now will cause more code to be covered) 👍Gustav is working on this now, escape sequences for characters is added but not YET pushed! ❗
This is all done now and can be merged ✅
I am working on documentation now and also moving out common methods into other modules (along with documenting them).
Migrated all methods that were common
char
-based onesLooks like I have everything done regarding documentation and neatening up of source code.
Ready to merge ✅
Just looking for any undocumented methods right now
Done ✅
Merging...
Merged ✅
CI/CD running...
Unittests ✅ (local testing)
CI/CD ✅
Done, closing issue ✅