Skip to content
/ tomlin Public

A TOML parser written in Janet

License

Notifications You must be signed in to change notification settings

pyrmont/tomlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tomlin

Build Status

Tomlin is a TOML parser for Janet. It aims to parse only valid TOML. It currently supports TOML v1.0.0.

Installation

Add the dependency to your project.janet file:

(declare-project
  :dependencies ["https://github.com/pyrmont/tomlin"])

Usage

Tomlin can be used like this:

(import tomlin)

(-> (slurp "input.toml")
    (tomlin/toml->janet)

API

Documentation for Tomlin's API is in api.md.

Testing

Tomlin passes a suite of tests in the toml-specs repository. If you clone this repository to a directory called specs/, they will run as part of the jpm test process.

Bugs

Found a bug? I'd love to know about it. The best way is to report your bug in the Issues section on GitHub.

Licence

Tomlin is licensed under the MIT Licence. See LICENSE for more details.

About

A TOML parser written in Janet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages