An open API service indexing awesome lists of open source software.

https://github.com/layumi/2015_compile_pj_v3

use antlr3 to build minijava abstract syntax tree for compile class @fudan
https://github.com/layumi/2015_compile_pj_v3

Last synced: 6 months ago
JSON representation

use antlr3 to build minijava abstract syntax tree for compile class @fudan

Awesome Lists containing this project

README

          

#2015 compilation class
build an abstract tree for minijava

#Dependency
antler3.2 + antlrwork1.4 + Java1.7.0_80

#Usage
1.use antlerwork open Java.g

2.Generate -> Generate Code

3.Run ->Debug
-> Line Ending select Unix(LF)
-> StartRule select compilationUnit
-> File select java file

OK! check AST & PraseTree