Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
Almost as great as sliced bread.

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


       

Please log in.
Before you can vote, you need to register. Please log in or create an account.

Grammar Sheet Language

Making it easy to modify your compiler
  (+1, -2)
(+1, -2)
  [vote for,
against]

This is abstracting the input and output sequences defined within a compiler and placing them in a "Grammer Sheet".
madness, Jun 07 2006

[link]






       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?
jutta, Jun 07 2006
  

       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.
madness, Jun 07 2006
  

       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.
gtoal, Apr 25 2008
  
      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle