Skip to content

lonelyelk/json-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JSON Kata

This is a personal exercise repository, where I learn programming languages by writing a json-parser following specification FRC7159 in a TDD approach.

Erlang

  • Whitespace
  • Object
  • String
  • Escapes
  • Utf8
  • Utf16
  • Boolean and null
  • Number
  • Array
  • Error position
  • Handle non-unique keys
  • Restrict unescaped characters within string
  • Difference between empty array and empty object – difference between arrays and objects
  • Implement parsing to maps
  • Split test cases from the module

Haskell

  • Setup
  • Whitespace
  • Object
  • String
  • Escapes
  • Utf8
  • Utf16
  • Boolean and null
  • Number
  • Array
  • Error position (Parsec package)
  • Handle non-unique keys
  • Restrict unescaped characters within string
  • Difference between empty array and empty object – for Haskell by type
  • Implement parsing to types
  • Split test cases from the module
  • Better test suite setup

About

A personal exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published