haskell / haskell/alex

Is there a way to be able to run a lexer from two different start codes?

Open
#267 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
323
Forks
87
PR merge metrics
No merged PRs in 30d

Description

I already have a workaround, where I have some char that is just to transition from start code A to B that I have to prefix input with (when I want start code B) but is there no other way?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.