READ_ME 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. LLGEN V1.0
  2. ==========
  3. Copyright © 1991-2005 by the Vrije Universiteit, Amsterdam, the Netherlands.
  4. 2006-02-03
  5. INTRODUCTION
  6. ============
  7. LLgen is a LL(1) parser in the style of yacc. It will generate an efficient
  8. recursive descent parser for Extended Context-Free grammars, with an optional
  9. non-correcting error recovery mechanism.
  10. For more information, see the white papers in the doc directory. (You may need
  11. to build LLgen first to be able to read them.)
  12. INSTALLATION
  13. ============
  14. LLgen depends on the following software:
  15. gcc: currently, LLgen only builds on gcc, due largely to the lack of any
  16. non-gcc test systems. Please contact the support mailing list (see
  17. below) if this is a problem.
  18. groff: used to build the documentation.
  19. LLgen uses Prime Mover as its build tool. To build, do:
  20. ./pm install
  21. This will compile LLgen and install it into /usr/local (which you must be able
  22. to write to). If you want it installed elsewhere, use -D to change the PREFIX
  23. variable:
  24. ./pm -DPREFIX="/home/dg/" install
  25. (If you do change the prefix, you must supply it whenever you invoke pm. And
  26. there must be a trailing / in the path you give it.)
  27. Invoking ./pm by itself will compile it but not install it; look in the bin
  28. directory for an image of
  29. USING LLGEN
  30. ===========
  31. Please see the white papers in PREFIX/share/doc/LLgen, or the man page (called
  32. LLgen).
  33. LLgen itself uses a parser compiled in LLgen, so you can study the files in
  34. the src directory for examples. If you wish to modify LLgen's own parser, the
  35. bootstrap.sh script will update LLgen's source from the parser *.g files.
  36. LLgen itself may then be recompiled with pm in the usual way. (Although you
  37. may want to keep a copy of a known good LLgen around in case you break
  38. something!)
  39. SUPPORT
  40. =======
  41. LLgen is part of the Amsterdam Compiler Kit (although standalone and
  42. distributed seperately). For more details, please see:
  43. http://tack.sourceforge.net
  44. There is a mailing list available at:
  45. http://sourceforge.net/mail/?group_id=130811
  46. LICENSE
  47. =======
  48. LLgen is © 1991-2005 by the Vrije Universiteit and is distributed under a
  49. license equivalent to the three-clause BSD license. See the COPYING file
  50. for details.
  51. Prime Mover is © 2006 David Given and is distributed under the MIT license.
  52. Do './pm --license' for details.
  53. -----------------------------------------------------------------------------
  54. David Given
  55. dg@cowlark.com
  56. 2006-02-04
  57. /* $Id$ */