No Paul, I'm fine with using goyacc, was just curious if it was
available inside go, rather than as an external element. If I'm
parsing some pseudo-ish code inside my go program, and doing some
manipulation there, it seems a little overkill to save out to a file,
to exec goyacc on that file.
I really wanted a flow something like:
- extract pseudo
- manipulate pseudo (strip off unnecessary parts, cleanup, select
parts of interest)
- run goyacc on that (from inside the code already manipulating it)
Seems this isn't acheivable so I'll go the exec route or just process
outside of go using goyacc.
I certainly do not want to write yet another yet another compiler
compiler!