arithy / packcc

A parser generator for C
Other
348 stars 29 forks source link

Adding example of how to use generated parser #35

Closed WhoAteDaCake closed 3 years ago

WhoAteDaCake commented 3 years ago

Hi, sorry to ask, but is it possible to add an example of how to produce output from applying parser to a file? I tried to look at the test scripts, but it's a bit confusing. Adding something like build.sh with examples with few steps would be enough. Thank you so much for this project!

WhoAteDaCake commented 3 years ago

Okay, so it turns out I just have to pipe input to parser ./parser < input.txt