bnfc icon indicating copy to clipboard operation
bnfc copied to clipboard

Bison does not directly support multiple entrypoints

Open andreasabel opened this issue 4 years ago • 0 comments

The C backend generates code for several entrypoints, but bison allows only one start symbol. Currently, the generated code for the other entrypoints is superfluous and maybe confusing.

Maybe several entrypoints could be implemented using this workaround: https://www.gnu.org/software/bison/manual/html_node/Multiple-start_002dsymbols.html

andreasabel avatar Mar 24 '21 17:03 andreasabel