I started to look into PHP-Yacc and I'm having the hard time with examples.
Here is a basic grammar:
%%
expr:
'1' { $$ = 1; }
;
%%
Do I understand right that it will just match any 1
symbols in text?
I started to look into PHP-Yacc and I'm having the hard time with examples.
Here is a basic grammar:
%%
expr:
'1' { $$ = 1; }
;
%%
Do I understand right that it will just match any 1
symbols in text?