Skip to content

J3m3/hason

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hason

Yes, a Json parser written in Haskell

Getting Started

Note: Make sure that GHC is installed in your environment

  1. Clone this Repository
git clone [email protected]:J3m3/hason.git hason
cd hason
  1. Compile & Link
ghc -o parse Main.hs -no-keep-hi-files -no-keep-o-files
  1. Let's test! I already provided about.json for test, but feel free to test w/ other .json files. Well, unless they don't touch umimplemented TODOs.
./parse about.json any.json

TODOs

  • use Data.Map instead of [(String, JsonValue)]
  • support escape sequences
  • support floats
  • improve error messages

About

Is it a JSON parser written in Haskell?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published