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 connections
    • mysql - for MySQL connections
  • user: optional, the user name for authentication
  • password: password for the user, can be only used in conjunction with the user. Depending on a protocol, can be either required or optional.
  • server: required, host name or IP address
  • port: optional, port number to connect to
  • path: 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, in key=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

LICENSE:

Apache v 2.0