Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

toml-parslet

This is a TOML parser for loading a hash from a TOML document.

It supports version 0.1.0 of the TOML spec.

Is it awesome?

Yes.

Right on.

While this is indeed a fully functioning TOML parser, I wrote this as a personal exercise and for a series of blog posts describing how to use Parslet for parsing a simple text file format.

It's set up as a ruby gem, but I'll only release it officially upon request.

Usage

require "toml-parslet"
TOML.load File.read("example.toml")

Contributing

Pull requests with tests, plz.

About

Ruby TOML parsing library using Parslet. Written as an learning / teaching exercise for a series of blog posts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published