-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Labels
HaskellenhancementpositionConcerning position information in parsed ASTConcerning position information in parsed AST
Milestone
Description
According to bnfc --help
:
--functor Make the AST a functor and use it to store the position of the nodes
How would you go about storing the position of the nodes?
The type that
parseProgram = pProgram . myLexer
yields is:
parseProgram :: String -> Err (Program ())
I.e: no position information is added... So does that mean that you have to use something else than happy
, or can you get it to add that position information for you?
Metadata
Metadata
Assignees
Labels
HaskellenhancementpositionConcerning position information in parsed ASTConcerning position information in parsed AST