dataMetaParse
DataMeta Parser commons: common rules and some reusable grammars
References to this gem's:
DESCRIPTION:
See the DataMeta Project
FEATURES/PROBLEMS:
- This gem uses treetop for grammar processing which only works with PEGs, same as Antlr and many other popular grammar processors. Hence, be careful with features that PEGs do not support, like left recursion.
DataMeta URI parsing
This gem provides convenient class for URI parsing with DataMeta Specifics.
The URI format is typical:
protocol://user:password@server:port/path?query
Out of which,
protocol
: required, corresponds with DataMeta "platform", can be:oracle
- for Oracle connectionsmysql
- for MySQL connections
user
: optional, the user name for authenticationpassword
: password for the user, can be only used in conjunction with theuser
. Depending on a protocol, can be either required or optional.server
: required, host name or IP addressport
: optional, port number to connect topath
: optional, protocol specific, may refer either to a full path on the server's filesystem or a name of the database?query
: optional, regular format for the URL query, inkey=value
format separated by &, any special characters encoded in the %xx format.
SYNOPSIS:
- No command line runnables in this gem, it is a library only.
INSTALL:
gem install dataMetaParse