home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / compiler / 2043 < prev    next >
Encoding:
Text File  |  1992-12-16  |  2.5 KB  |  60 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!cs.utexas.edu!usc!sol.ctr.columbia.edu!eff!world!iecc!compilers-sender
  3. From: Kurt Bischoff <bischoff@cs.iastate.edu>
  4. Subject: Beta testers wanted Attribute Grammar Compiling System
  5. Reply-To: Kurt Bischoff <bischoff@cs.iastate.edu>
  6. Organization: Compilers Central
  7. Date: Wed, 16 Dec 1992 12:47:51 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <92-12-075@comp.compilers>
  10. Keywords: tools, attribute, lex, yacc
  11. Sender: compilers-sender@iecc.cambridge.ma.us
  12. Lines: 46
  13.  
  14.                      Beta testers wanted for
  15.  
  16.              An Attribute Grammar Compiling System
  17.                            based on
  18.                         Yacc, Lex, and C
  19.  
  20. Ox generalizes the function of Yacc in the way that attribute grammars
  21. generalize context-free grammars.  Ordinary Yacc and Lex specifications
  22. may be augmented with definitions of synthesized and inherited attributes
  23. written in C syntax.  From these specifications, Ox generates a program
  24. that builds and decorates attributed parse trees.  Ox accepts a most
  25. general class of attribute grammars.  The user may specify postdecoration
  26. traversals for easy ordering of side effects such as code generation.  Ox
  27. handles the tedious and error-prone details of writing code for parse-tree
  28. management, so its use eases problems of security and maintainability
  29. associated with that aspect of translator development.
  30.  
  31. The translators generated by Ox use internal memory management that is
  32. often much faster than the common technique of calling malloc once for
  33. each parse-tree node.
  34.  
  35. Ox is a Yacc/Lex/C preprocessor, and is designed to bring attribute
  36. grammars closer to the mainstream of Unix-based language development.  Ox
  37. inherits all of the familiar syntax and semantics of Yacc, Lex, and C.  It
  38. is relatively easy to convert programs between Ox code and "pure
  39. Yacc/Lex/C" code.
  40.  
  41. Ox has been used to build a compiler for a small (eighty grammar rules)
  42. block-structured imperative programming language, and has been tested and
  43. found to be portable among the following systems running Unix:
  44.  
  45.      Hewlett-Packard PA, 680x0
  46.      Sun 3, SparcStation
  47.      DECstation 2100, 3100, 5000
  48.      Silicon Graphics Inc. R3000
  49.      NeXT workstation
  50.  
  51. The author of Ox is Kurt M. Bischoff (bischoff@cs.iastate.edu), Department
  52. of Computer Science, Iowa State University.
  53.  
  54. For more information, please send your e-mail address to:
  55.  
  56.      ox-request@cs.iastate.edu
  57. -- 
  58. Send compilers articles to compilers@iecc.cambridge.ma.us or
  59. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  60.