Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Generate and load veritas relations from / to s-expressions
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
lib
spec
.gitignore
.rspec
.travis.yml
Changelog.md
Gemfile
Gemfile.devtools
Guardfile
LICENSE
README.md
Rakefile
axiom-sexp.gemspec

README.md

axiom-sexp

Build Status Dependency Status Code Climate

A simple generator/parser from/to axiom/s-expressions.

Usage

require 'axiom'
require 'axiom-sexp'

relation = Veritas::Relation::Base.new(:name, Veritas::Relation::Header.coerce([[:id, Integer], [:foo, String]])

Veritas::Sexp::Generator.visit(relation) # => [ :base, :name, [[ :id, Veritas::Attribute::Integer ], [ :foo, Veritas::Attribute::String ]] ]


Installation
------------

There is currently no gem release. Use git source in your Gemfile:

```gem 'axiom-sexp', :git => 'https://github.com/mbj/axiom-sexp'```

Credits
-------

* [Markus Schirp (mbj)](https://github.com/mbj) Author

Contributing
-------------

* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with Rakefile or version
  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.

License
-------

See LICENSE file.
Something went wrong with that request. Please try again.