h a l f b a k e r yNot from concentrate.
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
|
|
|
This is abstracting the input and output sequences defined within a compiler and placing them in a "Grammer Sheet".
Please log in.
If you're not logged in,
you can see what this page
looks like, but you will
not be able to add anything.
Annotation:
|
|
Title spelling corrected from "grammer" to "grammar". If there's a joke there that I overlooked, just tell me. |
|
|
Compiler generators and machine-readable grammars in general are widely known to exist. Do you know "yacc"? How is this different? |
|
|
A compiler generator outputs a binary executable (the compiler) that takes text file input and creates binary output. In this case there is no intermediate compiler. |
|
|
Although this idea is so insufficiently described as to merit a bone for laziness, the idea itself is in fact quite sensible but utterly baked, if my guess as to what he meant is correct. There are several compiler writing systems where the back-end code generation is described in terms of register transfer notation thus avoiding the need to write a custom code generator. and as has been mentioned, the parsers are pretty much all written using tools that could be vaguely described as a 'grammar sheet'. If madness would care to elaborate with some concrete and original ideas, I might retract the bun. Of course it would help if he showed at least some peripheral awareness of how a compiler works. |
|
| |