Skip to content
This repository

Scala abstract syntax, parser, pretty-printer for the RELAX NG Compact Syntax

branch: master
README.md

RelaxNG Compact Syntax Parser and Pretty-Printer for Scala

This library provides classes for working with Compact-syntax RelaxNG grammars in a Scala-esque / functional way. It is NOT an XML Validator.

The components are:

  1. A comprehensive abstract syntax for RelaxNG Compact Syntax, with Arbitrary instances
  2. A parser for the abstract syntax
  3. A pretty-printer for the abstract syntax
  4. A basic simplifier, primarily for resolving local include directives

For now, use via "sbt publish-local" and add this to your build.sbt

libraryDependencies += "com.inkling" %% "relaxng" % "0.1"

Dependencies:

Dependencies are fetched automatically via SBT.

  • SBT: The library is built using SBT >= 0.10.0
    • To buld, run "sbt compile" in the root directory.
    • To test, run "sbt test" in the root directory
  • ScalaCheck: The library provides scalacheck Arbitrary instances, hence requires it even for non-testing use.
  • ScalaTest: For running the test suites, ScalaTest is required

Contributors

Licenses of Dependencies

Copyright and License

Copyright 2011-2012 Inkling Systems, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.