pegts
TypeScript library for writing combinatory parsers based on peg-like operators using fluent builder syntax. Wasn't really intended for real use and was developed purely for fun.
Installation
JavaScript:
npm install --save pegts
TypeScript:
npm install --save pegts @types/pegts
Usage:
; ;;; ;;;;; ; .map; .followedBy multDiv .followedByliteralExpression .map .anyNumber .map; .followedBy multDiv .followedByprodExpression .map .anyNumber .map; .followedBymathExpression .followedByrightPar .mape; mathExpression.setparExpression.oraddExpression;