Popularity
7.6
Growing
Activity
9.1
-
23
6
7

Monthly Downloads: 284
Programming language: Haskell
License: ISC License
Tags: Text     Language    
Latest version: v0.1.0.0

toml-parser alternatives and similar packages

Based on the "Language" category.
Alternatively, view toml-parser alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of toml-parser or a related project?

Add another 'Language' Package

README

toml-parser

Hackage Build Status

This package provides a complete and light-weight parser for the TOML configuration language. TOML is specified by https://github.com/toml-lang/toml. This language is designed to be easy to understand and unambiguous.

This implementation uses Alex and Happy to generate an efficient lexer and parser. The code is fully commented and should be useful as an example of how to use these tools to parse other languages.

Example

# This is a TOML document.

title = "Example document"

[section]
string    = "hello, world"
integers  = [0, +1, -2, 3_333_333]
float     = 4.2e10
inlinemap = { x = 1, y = 'two' }

[nesting]

  [nesting.first]
  longstring = """multiline "string" syntax"""
  longquote  = '''escapes \not \interpreted'''

  [nesting.second]
  datetime    = 2017-05-04T12:13:14Z
  lookinggood = true

Contact Information

Please contact me via GitHub or on the #haskell IRC channel on irc.freenode.net