79655836

Date: 2025-06-06 11:20:25
Score: 1.5
Natty:
Report link

"Does C11, C99 or C23 have a PEG specification?"

C specifications use BNF format, so officially no.

"Is there a peg parser for the C language?"

If by this you mean a library for parsing the grammars, yes, there are a few. packcc is one.

"Is there a list of programming languages with a PEG specification?"

I'm not aware of any extensive list, but you can find a Java and (very old) C grammar here. Later versions of CPython (a common python interpreter) use PEG specs too, see https://github.com/python/cpython/blob/main/Grammar/python.gram.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Luke Sharkey