Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lex characters with position context #47

Merged
merged 3 commits into from
Jan 22, 2024
Merged

lex characters with position context #47

merged 3 commits into from
Jan 22, 2024

Conversation

wcho21
Copy link
Owner

@wcho21 wcho21 commented Jan 22, 2024

feat.

  • Lexer: now it returns SourceToken which has a position context (row, col)
  • Lexer: previous interfaces (lexing without position context) of Lexer are now deprecated

refactor.

  • SourceToken (token types): divided into sub files, with attaching position context
  • TokenType: previous token types are now deprecated

internal

  • CharBuffer: now it emits SourceChar which has a position context (row, col)

@wcho21 wcho21 self-assigned this Jan 22, 2024
@wcho21 wcho21 merged commit d035838 into dev Jan 22, 2024
1 check passed
@wcho21 wcho21 deleted the feat branch January 22, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant