Lexer stuff #60

Closed
opened 2022-12-17 15:35:04 +00:00 by deavmi · 1 comment
Owner

Lexer fixes

  • We need to fix issue below

UL and stuff support - we need to fix this

/* 21U (invalid) */
    sourceCode = "21U ";
    currentLexer = new Lexer(sourceCode);
    // gprintln(currentLexer.performLex());
    bool status = currentLexer.performLex();
    gprintln("Collected "~to!(string)(currentLexer.getTokens()));
    assert(!status);

test case fails as in it sees this as positive.

atic import compiler.typecheck.dependency.classes.classStaticDep;'
[21U at (1, 1)]
core.exception.AssertError@source/tlang/compiler/lexer.d(794): unittest failure
Lexer fixes - [ ] We need to fix issue below UL and stuff support - we need to fix this ``` /* 21U (invalid) */ sourceCode = "21U "; currentLexer = new Lexer(sourceCode); // gprintln(currentLexer.performLex()); bool status = currentLexer.performLex(); gprintln("Collected "~to!(string)(currentLexer.getTokens())); assert(!status); ``` test case fails as in it sees this as positive. ``` atic import compiler.typecheck.dependency.classes.classStaticDep;' [21U at (1, 1)] core.exception.AssertError@source/tlang/compiler/lexer.d(794): unittest failure ```
deavmi added the
lexer
label 2022-12-17 15:35:29 +00:00
deavmi added this to the Lexer project 2022-12-17 15:35:33 +00:00
deavmi added the due date 2023-02-01 2022-12-17 15:36:00 +00:00
deavmi added this to the Basics milestone 2022-12-21 09:12:42 +00:00
deavmi self-assigned this 2022-12-21 09:12:46 +00:00
deavmi removed the due date 2023-02-01 2023-07-16 19:41:19 +01:00
deavmi added the due date 2023-07-30 2023-07-16 19:41:22 +01:00
gusmeyer was assigned by deavmi 2023-07-16 19:42:31 +01:00
deavmi added reference feature/lexer_improvements 2023-07-16 19:42:35 +01:00
deavmi added a new dependency 2023-07-16 19:43:19 +01:00
Author
Owner

Completed

Completed
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'.

2023-07-30

Reference: tlang/tlang#60
No description provided.