Skip to content

EspenBerget/parserC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parser Combinators

About

This is a small project I made to learn about parser cominators, TypeScript, and testing in TypeScript.

The library works fine, but writing recursive parsers does not. This is downside considering that parser combinators are a class of parsers known as recursive descent parsers.

Still I learn a lot about TypeScript's type system, and testing in TypeScript.

Warning

This is only a toy project, see parzec for a proper implementation.

Sources

This project was mostly inspired by Scott Wlaschin's blog post Understanding Parser Combinators.

Alternatively if this interested you, read this paper.

About

Parser combinator toy project in TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published