llvm.org GIT mirror llvm / 7907005
Validation fixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42231 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 13 years ago
1 changed file(s) with 15 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
12951295
12961296
12971297
1298
12981299
12991300

The source code, test programs, and sample programs can all be found

13001301 in the LLVM repository named llvm-stacker This should be checked out to
13011302 the projects directory so that it will auto-configure. To do that, make
13021303 sure you have the llvm sources in llvm
13031304 (see Getting Started) and then use these
1304 commands:

                  
                
1305 svn co http://llvm.org/svn/llvm-project/llvm-top/trunk llvm-top
1306 cd llvm-top
1307 make build MODULE=stacker
1308

1305 commands:

1306
1307
1308

                  
                
1309 % svn co http://llvm.org/svn/llvm-project/llvm-top/trunk llvm-top
1310 % cd llvm-top
1311 % make build MODULE=stacker
1312
1313
1314
13091315

Under the projects/llvm-stacker directory you will find the

13101316 implementation of the Stacker compiler, as follows:

1317
13111318
13121319
  • lib - contains most of the source code
  • 13131320
    13221329
  • sample - contains the sample programs
  • 13231330
    13241331
    1332
    13251333
    13261334
    The Lexer
    1335
    13271336
    13281337

    See projects/llvm-stacker/lib/compiler/Lexer.l

    13291338
    1339
    13301340
    13311341
    The Parser
    13321342