Skip to content

Ben-Brady/json-peg-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JSON Peg Parser

A JSON parser written in rust making using of pest.

This was my first venture into PEG based parsing after doing some more conventional parsing for my simple scripting language project. Once I establsihed the grammar, writing the rest of the parser was quite easy as I could use the languages built-in convesions (string and floating point) to transform into language constructs as they had already been validated by the PEG grammar.

About

A small little JSON parser I wrote in order to understand how to use pest.rs/PEG Parsers

Topics

Resources

Stars

Watchers

Forks

Languages