Popularity
2.7
Declining
Activity
0.0
Stable
3
2
0

Monthly Downloads: 9
Programming language: Haskell
License: MIT License
Tags: Data     Dson    

dson-parsec alternatives and similar packages

Based on the "dson" category.
Alternatively, view dson-parsec alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of dson-parsec or a related project?

Add another 'dson' Package

README

dson-parsec

How much?

[DSON](dogeon.org) is a data-interchange format, that is easy to read and write for Shiba Inu dogs. It is easy for machines to parse and generate.

It's extremely fast (faster than C) and very nice.

Many wow

dson-parsec is the Haskell parser of choice. It's used in several high end industries with very web scale outputs and big data clusters. Many terabytes take a second to Haskellize. Curry would be proud.

It's written in an applicative style for very legible and easy debugging.

So install

You can install very ready with:

cabal install dson-parsec

Usage

To get started, Dson implements a test that transforms very sexy DSON string into Brendan Eich's awful JSON format.

Prelude> import Data.Dson

Prelude> main
such "foo" is so "bar" also "baz" and 4.5 many wow
"{ foo: [\"bar\", \"baz\", 4.625] }"

The actual parser is parseTop in Parsec. For example:

import Data.Dson.Parsec

parseTest dsonTop "such \"foo\" is such \"shiba\" is \"inu\", \"doge\" is yes wow wow"

Outputs:

DSDict [("foo",DSDict [("shiba",DSString "inu"),("doge",Yes)])]