home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,414 of 2,753   
   Stefan Monnier to All   
   Re: Going backwards from a Language(or s   
   06 May 17 22:02:16   
   
   From: monnier@iro.umontreal.ca   
      
   > [Depends what you mean by language.  If you mean from a set of sentences,   
   > sure, it's this:   
      
   >   lang ::= sentence1 | sentence2 | ...   
   >   sentence1 ::= tokens in sentence1   
   >   sentence2 ::= tokens in sentence2   
   >   ...   
      
   Indeed.  Actually, there's a more concise grammar that also accepts those   
   same sentences:   
      
       lang = .*   
      
      
   -- Stefan   
   [Well, yeah, but that's a little overgeneral. -John]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca