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 'erlang-parser'

And then execute:

$ bundle

Or install it yourself as:

$ gem install erlang-parser

Usage

Erlang.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/erlang-parser. 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.