ANTLR/GettingStarted

From Kompilatory
Revision as of 16:34, 5 May 2016 by Faster (Talk | contribs) (początek)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Start

  1. run java -jar /opt/antlr3/antlrworks.jar
  2. do not fill the questionnaire (the Author do not care about it anymore)
  3. choose the type of the file: .g and create it
AntlrWorks1.PNG
AntlrWorks2.PNG

Under the Linux & kde we cannot enter the grammar name. But if we click 'OK' button, the program will tell what it thinks about us.

AntlrWorks3.PNG
Now the writing in the 'name' field is possible.