You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello dear pest team,
I am currently developing a parser with your libary.
I have this
grammar.pest
file:which should be able to parse my dsl:
The entire rust code etc. is working and set up.
The parser is supposed to parse my code like this:
def Pat<
indicates the startthen comes the node name
inputs and outputs
> {
This works really well but
Now comes the error part:
Look if line starts with
asm ->
parsea-zA-z0-9$[+]
till the new line and use asm_instruction for thatElse parse every character till the new line and use rust_instruction for that.
But this system does not work
Any help is appreciated
Best
Cr0a3
Beta Was this translation helpful? Give feedback.
All reactions