File: mfbuild.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 (24 lines) | stat: -rw-r--r-- 1,183 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
In order to construct tt(mfcalc), the following steps are suggested:
    itemization(
    it() Construct a program tt(mfcalc.cc). Actually, it is already available,
        since all implementations of tt(main()) used so far are identical to
        each other.
    it() Construct the parser in a subdirectory tt(parser):
        itemization(
        it() First, construct b()'s input file as indicated above. Name
            this file tt(grammar);
        it() Run tt(bisonc++ grammar) to produce the files tt(Parser.h),
            tt(Parserbase.h), tt(Parser.ih) and tt(parse.cc);
        it() Modify tt(Parser.h) so as to include tt(FunctionPair, 
            s_functions, s_funTab) and tt(d_symbols);
        it() Modify tt(Parser.ih) so as to include tt(cmath) and optionally
            `tt(using namespace std)', which is commented out by default;
        it() Implement tt(data.cc) and tt(lex.cc) to initialize the static
            data and to contain the lexical scanner, respectively.
        )
    it() Now construct tt(mfcalc) in tt(mfcalc.cc)'s directory using the
        following command: 
            verb(
    g++ -o mfcalc *.cc parser/*.cc
            )
    )