GitHub - doublec/jsparse: JavaScript Parser Combinator Library | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

doublec/jsparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsparse
=======

This is a simple library of parser combinators for Javascript based on
Packrat parsers [1] and Parsing expression grammars [2]. 

[1] http://pdos.csail.mit.edu/~baford/packrat/
[2] http://en.wikipedia.org/wiki/Parsing_expression_grammar

The only documentation currently available in these blog entries:

http://www.bluishcoder.co.nz/2007/10/javascript-packrat-parser.html
http://www.bluishcoder.co.nz/2007/10/javascript-parser-combinators.html

Examples:

tests.js
  Various tests to ensure things are working

example1.js
  Simple expression example from wikipedia article on PEGs.

example2.js
  Expression example with actions used to produce AST.

example3.js
  Expression example with actions used to evaluate as it parses.

es3.js 
  Incomplete/work-in-progress ECMAScript 3 parser

es3_tests.js
  Tests for ECMAScript 3 parser

I use it from within the Mozilla Rhino environment but it also works
in the browser.

About

JavaScript Parser Combinator Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.