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

Lexer & Initial REPL #15

Merged
merged 8 commits into from
Apr 2, 2024
Merged

Lexer & Initial REPL #15

merged 8 commits into from
Apr 2, 2024

Conversation

dineshUmasankar
Copy link
Owner

Description

Initial implementation of the REPL to simply respond back with tokens from input scanned.
Initial Implementation of the base level of tokens defined from Thorsten Ball's Monkey Language Book.

Closes #8

Testing Guidelines

  • Manually pull branch, and run go test ./lexer
  • Ensure all tests pass and all tokens are being covered within tests from token definition

@dineshUmasankar dineshUmasankar added the enhancement New feature or request label Mar 31, 2024
@dineshUmasankar dineshUmasankar linked an issue Mar 31, 2024 that may be closed by this pull request
@dineshUmasankar
Copy link
Owner Author

@BabyKangaroo117

I ran the instructions within testing guidelines and ran into the following error:

# YARTBML/lexer
lexer/lexer_test.go:108:11: missing ',' in composite literal
FAIL    YARTBML/lexer [setup failed]
FAIL

@dineshUmasankar dineshUmasankar merged commit 7ef6735 into main Apr 2, 2024
1 check passed
@dineshUmasankar dineshUmasankar deleted the Joe-Lexer branch April 2, 2024 21:05
@dineshUmasankar dineshUmasankar restored the Joe-Lexer branch April 2, 2024 21:05
@dineshUmasankar dineshUmasankar deleted the Joe-Lexer branch April 7, 2024 02:56
@BabyKangaroo117 BabyKangaroo117 mentioned this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lexer / Tokenizer Implementation with Tests
2 participants