Skip to content

TwilightCoders/erle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version      Build Status Code Climate Test Coverage Dependencies

ERLE::Parser

http://erlang.org/doc/reference_manual/data_types.html

Erlang Expressions are a bit different from your typical programming language. ERLE::Parser helps by parsing a string of expressions into a rich (or otherwise) data-structure for Ruby to consume.

Requirements

Ruby 2.2+

Installation

Add this line to your application's Gemfile:

gem 'erle'

And then execute:

$ bundle

Or install it yourself as:

$ gem install erle

Usage

ERLE.parse(" {a,[{a_foo,'ABCDE',\"ABCDE\",<<\"ABCDE\">>}]} ")
$ {:a=>[{:a_foo=>["ABCDE", "ABCDE", "ABCDE"]}]}

Development

After checking out the repo, run bundle to install dependencies. Then, run bundle exec rspec to run the tests.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/TwilightCoders/erle. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

Ruby Erlang Expressions Parser

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published