Lexer improv two #150

Closed
opened 2023-07-20 15:36:19 +01:00 by deavmi · 1 comment
Owner

Ideas

  • Embedding SymbolType in Token upon construction
    • Using string-based enums
  • Improved usage of SymbolType's getSymbolType()

Check compatibiloty with this for usage in rest of code. Specifically when we call getToken() on the Token and the usage of getSymbolTYpe() (on what will be the neweer version of the Token class)

## Ideas - [ ] Embedding `SymbolType` in `Token` upon construction * Using `string`-based enums - [ ] Improved usage of `SymbolType`'s `getSymbolType()` Check compatibiloty with this for usage in rest of code. Specifically when we call `getToken()` on the `Token` and the usage of `getSymbolTYpe()` (on what will be the neweer version of the `Token` class)
deavmi self-assigned this 2023-07-20 15:37:02 +01:00
gusmeyer was assigned by deavmi 2023-07-20 15:37:02 +01:00
deavmi added this to the Clean ups milestone 2023-07-20 15:37:06 +01:00
deavmi added this to the Lexer project 2023-07-20 15:37:09 +01:00
deavmi added the
lexer
label 2023-07-20 15:37:50 +01:00
Author
Owner

Eh, closing for now. This can be an easy clean up later.

Eh, closing for now. This can be an easy clean up later.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tlang/tlang#150
No description provided.