Skip to content

flavio-munis/sml-parser-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SML Parser Lib

Implements a parser combinator library to create powerful parsers using few a functions and operators. To run the project you can use CM.Make "make.cm" from a SML/NJ REPL, or you can add it to your project and import the necessary structure or signatures.

🧩 Interfaces

The interface.sig file define haskell-like abstract signatures that can be used by any valid type t.

πŸ§ͺ Tests

Run CM.make "run-tests.cm" in tests folder to automatically run all unit tests.

πŸ’» Implementation

Json Parser

Implements a fully functional Json Parser based on ECMA-404 (The JSON Data Interchange Syntax).

🌟 Inspirations

This repo is heavily inspired by this video from tsoding.

πŸ“ To Do

  • Add/Remove/Update Values from Json Tree
  • Prettify/Minify Json
  • Parser for Double Values
  • Write Json To File
  • Parser for Escape Characters
  • Error Tracking

About

Functional Parsing Lib for SML.

Topics

Resources

Stars

Watchers

Forks

Contributors