Skip to content

glaciyan/ipt-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate Antlr Java files

java -jar ./lib/antlr-4.13.1-complete.jar ./src/IPT.g4 -o ./src/cc/glaciyan/ipt -encoding UTF-8 -package cc.glaciyan.ipt -visitor

Example

person = {
  name = "John",
  age = 30,
  address = {
    street = "123 Main St",
    city = "Example City",
    postalCode = "12345"
  },
  emails = {"john@example.com", "johndoe@example.org"},
  hobbies = {
    "Reading",
    "Gardening",
    "Cooking"
  }
}

TreeTree

About

Basic Object Notation Parser. Used to learn how to create a parser with ANTLR

Resources

Stars

Watchers

Forks