Skip to content

Parses a schema file (.exp) in EXPRESS language and returns an easy to access data structure

Notifications You must be signed in to change notification settings

sevar83/ExpressOMG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpressOMG (EXPRESS Object Model Generator)

Library for parsing a schema written in the EXPRESS language (.exp file). Produces a DOM-like structure.

Based on ANTLR and http://osexpress.sourceforge.net/exparser.html

Usage

  1. Build it as a jar and add it as a dependency to your project
  2. Generate the Object Model like this:
FileInputStream in = new FileInputStream(new File("schema.exp"));
ExpressObjectModel objectModel = new ExpressOMG(inputStream).generate();		
// Now the schema is fully parsed and objectModel is ready for interrogation. For example:
objectModel.getSchemas().get("schema1").getTypes().get("MyType1")...

About

Parses a schema file (.exp) in EXPRESS language and returns an easy to access data structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published