Feature: Lexer #7
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Blocks
Depends on
#8 Feature: Parser
j/Conlang
#2 Feature: Tokenize Identifier
j/Conlang
#3 Feature: Tokenize Integer literals
j/Conlang
#5 Feature: Tokenize String Literals
j/Conlang
#6 Feature: Tokenize Keywords
j/Conlang
Reference: j/Conlang#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Feature description
The lexer takes a block of text, and breaks it up into identifiable parts (tokens) with lexical significance.
It should be able to tokenize:
fn
,let
,if
,else
,for
, etc.)foo
,bar
,baz
,_foo
,_bar
,_baz
,_9
, etc.) (matchingXID_START
~XID_CONTINUE
*)10
.1_000
,0x41
,0b100
,4.5
,.5
,"Hello, world!"
,'0'
)(
,[
,{
,}
,]
,)
,,
,<
,>
,=
,+
,-
,*
,&
,^
, etc.)Lexer V1 is as good as complete! 😸