home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / misc / 3498 < prev    next >
Encoding:
Text File  |  1992-11-05  |  805 b   |  28 lines

  1. Newsgroups: comp.lang.misc
  2. Path: sparky!uunet!news.gtech.com!noc.near.net!lynx!random.ccs.northeastern.edu!zou
  3. From: zou@ccs.northeastern.edu (Chendong Zou)
  4. Subject: LALR grammar
  5. Message-ID: <1992Nov5.154705.14979@random.ccs.northeastern.edu>
  6. Sender: news@random.ccs.northeastern.edu
  7. Nntp-Posting-Host: sun3140l.ccs.northeastern.edu
  8. Organization: College of CS, Northeastern U
  9. Date: Thu, 5 Nov 1992 15:47:05 GMT
  10. Lines: 16
  11.  
  12. Hi:
  13.  
  14. I am now try to design a grammar to preprocess some technical papers using a
  15. LALR parser.
  16.  
  17. I wonder if there is a general rule to design a grammar to guarantee it to be
  18. a LALR(1). For sometimes, if you do some tricky changes, a non-LALR(1) grammar
  19. will become a LALR(1).
  20.  
  21. Any suggestions? or can you recommend some books to read?
  22.  
  23. Please email me directly.
  24. Thank you!
  25.  
  26. -- Zou
  27.  
  28.