Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.17 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.17 KB
  1. Install Antlr4 Tools on MacOS 2. pip3 install antlr4-tools

  2. Clone Antlr4 Repository 3. URL: git clone [email protected]:antlr/grammars-v4.git

  3. Getting Started with Antlr4 4. URL: https://github.com/antlr/antlr4/blob/master/doc/getting-started.md 5. Java Target: https://github.com/antlr/antlr4/blob/master/doc/java-target.md

  4. Go to Antlr4-Lab

  5. Introduce to Grammar File 6. ```antlrv4 /** Optional javadoc style comment */ [lexer|parser] grammar Name; options {...} import ...; tokens {...} channels {...} // lexer only @actionName {...} rule1 // parser and lexer rules, possibly intermingled ... ruleN

    
    
    
    
    

References

  1. The Definitive ANTLR 4 Reference
  2. Antlr4 Documentation
  3. Antlr4 issue list
  4. RRD for Antlr4
  5. RRD for Antlr4 Maven Plugin