mirror of https://github.com/tbklang/tlang.git
Lexer floating point issue #95
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#95
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?
Well, the lexer supports floating points but it somehow supports this:
However, it actually returns
1.2
, it's just that the lexer should actually hand up on something like this.Mmmnh....
It sees this:
Actually, I see it sees
1.2.2
as1.2
(float.
(dot operator) followed by literal2
. this is fine.Infact we see this work even with
1.2.2.2
which is(1.2) . (2.2)
:This is fine ✅ :