Small language with parser in Haskell and Faker

Hi all! As for beginner – it was pretty hard to me to parse YAML or JSON. Too much information, too much functions for such a simple task (in Ruby it is really simple, because of duck typing). So I wrote mine super simple language for data files – Giml – and two parsers for it – in Ruby and in Haskell. Aim of this language - to be fast and so simple that you need only couple pages of code of any language without heavy dependencies to implement parser. Here is the manifest: https://github.com/gazay/giml. Parser in Haskell: https://github.com/gazay/gimlh It was written mostly for my library Faker, which was nicely discussed on reddit ( http://www.reddit.com/r/haskell/comments/2rb8ym/haskell_library_for_generati...) so I have a lot of plans what to do in future with Faker. But I didn't present Giml anywhere and it will be really great if someone can take a look (there only couple pages of code) and tell me what can be improved, what can be rewritten in better way and so on. I didn't use Parsec for a reason in this library as I wanted to write my parser as clean of dependencies as possible, but maybe it will improve performance or something else?
participants (1)
-
Alex Gaziev