Skip to content

Conversation

@okhaimie-dev
Copy link
Contributor

@okhaimie-dev okhaimie-dev commented May 30, 2025

The lexer now matches sequences of words against the dictionary instead of just single words, allowing for phrases and compound terms to be recognized.

Description

Related issues

Closes #34

Introduced changes

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added relevant tests

The lexer now matches sequences of words against the dictionary instead of
just single words, allowing for phrases and compound terms to be recognized
as a single token.
@railway-app
Copy link

railway-app bot commented May 30, 2025

This PR was not deployed automatically as @okhaimie-dev does not have access to the Railway project.

In order to get automatic PR deploys, please add @okhaimie-dev to your team on Railway.

@okhaimie-dev okhaimie-dev changed the title Support multi-word dictionary entries in lexer feat: Support multi-word dictionary entries in lexer May 30, 2025
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.

feat(contracts/lexer): greedy matching for tokens

2 participants