Help wanted. star<sor<until< #124
Unanswered
cloudcalvin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all, many thanks for developing this great library. It has been very exciting using it to build our tool (https://github.com/pleroux0/vcd_assert).
Would someone kindly help me understand why using
until
inside ofstar
not allow my grammar to function correctly?I am trying to parse verilog modules but ignore everything internal to the module except for module instantiations (and sdf_annotation which is still to be added).
The rule,
in the following grammar excerpt fails to parse the
endmodule_keyword
(inmodule_declaration
).The rule
until<endmodule_keyword>
works as expected whenuntil<module_instantiation>
is not wrapped instar
.Ideally I would want to have something like:
or
Any help in the matter would be greatly appreciated.
Kind Regards
Calvin
Beta Was this translation helpful? Give feedback.
All reactions