Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.
/ DDL-Parser Public archive

A DDL parser providing an Object-Oriented, Queryable (read: Linq) interface

Notifications You must be signed in to change notification settings

christophevg/DDL-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDL Parser

A DDL parser providing an Object-Oriented, Queryable (read: Linq) interface
Christophe VG ([email protected])
https://github.com/christophevg/DDL-Parser

Disclaimer

This project doesn't aim to be feature complete. Although it would like to be generic, it also currently specific DB2 constructs.

Notes

A DDL basically consists of two types of "statements": comments and actual statements. The former is identified by a double leading dash (--), the latter are separated using semi-colons (;).

The DDL parser starts of by checking if its current input starts with a double dash, if so, the remainder of the line, up to a new-line character (optional carriage returns are discarded anyway), is wrapped in a Comment object. If it is a statement, everything up to the next semi-colon is further parsed as a Statement.

About

A DDL parser providing an Object-Oriented, Queryable (read: Linq) interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published