|
|
|
|
|
by benjaminjosephw
1366 days ago
|
|
> langcc is general enough that the tool is self-hosting: that is, one can express the "language of languages" in the "language of languages" itself There's something deeply satisfying about recursive tools who's inputs can include the definition of the tool itself. Brilliant. |
|
I'd expect most parser generators in this category to be able to parse their own grammars.
Imagine a very weak parser that can only handle LR0. But if it uses a Lisp-like grammar language, it too is self-hosting.