Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nearley

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nearley - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "nearley",
"version": "0.1.0",
"version": "0.1.1",
"description": "Simple Earley parsing for JS",

@@ -5,0 +5,0 @@ "main": "lib/nearley.js",

@@ -8,7 +8,7 @@ oooo

o888o o888o `Y8bod8P' `Y888""8o d888b o888o `Y8bod8P' .8'
-stream streaming parser .o..P'
.o..P'
`Y8P'
nearley-stream
nearley
==============

@@ -20,7 +20,7 @@

-----
nearley-stream uses the [Earley parsing algorithm](http://en.wikipedia.org/wiki/Earley_parser) to parse complex data structures easily.
nearley uses the [Earley parsing algorithm](http://en.wikipedia.org/wiki/Earley_parser) to parse complex data structures easily.
Why?
----
nearley-stream lets you define grammars in a **simple format**. Unlike Jison's tokenizer-and-parser approach, I use a single set of definitions. Unlike PEG.js, this parser handles **left recursion** gracefully and warns you if your parse is ambiguous.
nearley lets you define grammars in a **simple format**. Unlike Jison's tokenizer-and-parser approach, I use a single set of definitions. Unlike PEG.js, this parser handles **left recursion** gracefully and warns you if your parse is ambiguous.

@@ -31,3 +31,3 @@ How?

npm install -g nearley-stream
npm install -g nearley
nearleyc parser.ne

@@ -34,0 +34,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc