Skip to content

zerowidth/toml-parslet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

 
 
 

Contributors