2 Ragel State Machine Compiler -- README
3 ======================================
11 If you would like to modify Ragel and need to build Ragel's scanners and
12 parsers from the specifications then set BUILD_PARSERS=true in the configure
13 script and then run it. To build the parsers you will need the following
17 * bison (recent version and not bison++, see below)
20 To build the user guide the following extra programs are needed:
29 To configure type './configure'. The makefiles honour the --prefix option to
30 specify where the program is to be installed to.
32 To build the ragel program type 'make'.
34 To build all the documentation cd to 'doc' and type 'make'. If you don't have
35 all of the programs to build the user guide and just want the man page use
36 'make ragel.1 rlcodegen.1'.
42 The command 'make install' will build the programs and install them to $PREFIX/bin/.
43 A 'make install' in the doc directory will make and install all the
44 documentation. The man pages install to $PREFIX/man/man1/ and the user guide
45 and ChangeLog install to $PREFIX/share/doc/ragel/. To install just the man page
46 use 'make man-install'.
49 4. Why Ragel cannot be built with Bison++
50 -----------------------------------------
51 Ragel is written in C++ using a C-style parser. Bison++ sees that we are using
52 C++ and generates classes, which breaks the build. As of last investigation,
53 this can't be stopped. Bison++ is therefore only compatible with Bison if you
54 are implementing a C-style parser in C.