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
- Host: GitHub
- URL: https://github.com/layumi/2015_compile_pj_v3
- Owner: layumi
- Created: 2016-01-03T11:52:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-03T12:09:17.000Z (almost 10 years ago)
- Last Synced: 2025-02-11T17:59:29.462Z (8 months ago)
- Language: Java
- Homepage:
- Size: 2.48 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.g2.Generate -> Generate Code
3.Run ->Debug
-> Line Ending select Unix(LF)
-> StartRule select compilationUnit
-> File select java fileOK! check AST & PraseTree