File: introduction.yo

package info (click to toggle)
bisonc%2B%2B 4.09.02-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,412 kB
  • ctags: 2,871
  • sloc: cpp: 9,459; ansic: 1,434; makefile: 1,091; sh: 286; yacc: 84; lex: 60
file content (33 lines) | stat: -rw-r--r-- 1,864 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
B() is a general-purpose parser generator that converts a
grammar description for an LALR(1) context-free grammar into a bf(C++)
class to parse that grammar.  Once you are proficient with b(),
you may use it to develop a wide range of language parsers, from those
used in simple desk calculators to complex programming languages.

B() is highly comparable to the program bison++, written by Alain
Coetmeur: all properly-written bison++ grammars ought to be convertible to
b() grammars after very little or no change.  Anyone familiar with
bison++ or its precursor, bison, should be able to use b() with little
trouble.  You need to be fluent in using the bf(C++) programming in order to
use b() or to understand this manual.

This manual closely resembles bf(bison)(1)'s userguide. In fact, many sections
of that manual were copied straight into this manual. With b() distributions
(both the full source distribution and the binary tt(.deb) distributions)
bf(bison)'s orginal manual is included in both em(PostScript) and (converted
from the tt(texi) format) tt(HTML) format. Where necessary sections of the
original manual were adapted to b()'s characteristics. Some sections were
removed, some new sections were added to the current manual. Expect upgrades
of the manual to appear without further notice. Upgrades will be announced in
the manual's title.

The current manual starts with tutorial chapters that explain the basic
concepts of using b() and show three explained examples, each building on its
previous (where available).  If you don't know b(), bison++ or bison, start by
reading these chapters.  Reference chapters follow which describe specific
aspects of the program b() in detail.

B() was designed and built by url(Frank
B. Brokken)(mailto:f.b.brokken@rug.nl). The program's initial release was
constructed between November 2004 and May 2005.