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

chevrotain

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chevrotain - npm Package Compare versions

Comparing version 0.5.13 to 0.5.14

11

bin/chevrotain.d.ts

@@ -1,2 +0,2 @@

/*! chevrotain - v0.5.13 - 2016-01-02 */
/*! chevrotain - v0.5.14 - 2016-01-11 */
declare module chevrotain {

@@ -97,3 +97,3 @@ module lang {

* @param {Function[]} tokenClasses constructor functions for the Tokens types this scanner will support
* These constructors must be in one of three forms:
* These constructors must be in one of THESE forms:
*

@@ -103,8 +103,3 @@ * 1. With a PATTERN property that has a RegExp value for tokens to match:

*
* 2. With a PATTERN property that has a RegExp value AND an IGNORE property with boolean value true.
* These tokens will be matched but not as part of the main token vector.
* this is usually used for ignoring whitespace/comments
* example: --> class Whitespace extends Token { static PATTERN = /(\t| )/; static IGNORE = true}<--
*
* 3. With a PATTERN property that has the value of the var Lexer.NA defined above.
* 2. With a PATTERN property that has the value of the var Lexer.NA defined above.
* This is a convenience form used to avoid matching Token classes that only act as categories.

@@ -111,0 +106,0 @@ * example: -->class Keyword extends Token { static PATTERN = NA }<--

{
"name": "chevrotain",
"version": "0.5.13",
"version": "0.5.14",
"description": "Chevrotain is a high performance fault Tolerant Javascript parsing DSL for building recursive decent parsers",

@@ -48,9 +48,7 @@ "keywords": [

},
"dependencies": {
"lodash": "^3.10.1"
},
"dependencies": {},
"devDependencies": {
"chai": "^3.4.1",
"coveralls": "^2.11.4",
"gitty": "^3.2.3",
"coveralls": "^2.11.6",
"gitty": "^3.3.2",
"grunt": "^0.4.5",

@@ -66,4 +64,4 @@ "grunt-cli": "~0.1.13",

"grunt-run": "^0.5.2",
"grunt-ts": "~5.3.0-beta.2",
"grunt-tslint": "~3.0.0",
"grunt-ts": "~5.3.0-beta.3",
"grunt-tslint": "~3.0.1",
"grunt-typedoc": "^0.2.3",

@@ -73,19 +71,20 @@ "grunt-umd": "~2.3.5",

"jsonfile": "^2.2.3",
"karma": "~0.13.15",
"karma": "~0.13.19",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "~0.2.1",
"karma-chrome-launcher": "~0.2.2",
"karma-firefox-launcher": "~0.1.7",
"karma-ie-launcher": "~0.2",
"karma-mocha": "^0.2.1",
"karma-requirejs": "^0.2.2",
"karma-requirejs": "^0.2.3",
"karma-script-launcher": "~0.1.0",
"karma-story-reporter": "~0.3.1",
"load-grunt-tasks": "^3.4.0",
"lodash": "^3.10.1",
"mocha": "^2.3.4",
"requirejs": "^2.1.22",
"semver": "^5.1.0",
"tslint": "^3.0.0",
"tslint": "^3.2.1",
"typescript": "~1.7.5",
"wrench": "~1.5.8"
"wrench": "^1.5.8"
}
}

@@ -19,3 +19,3 @@ [![npm version](https://badge.fury.io/js/chevrotain.svg)](http://badge.fury.io/js/chevrotain)

* Supports Token location tracking.
* Supports Token skipping (whitespace/comments/...)
* Supports Token skipping (whitespace/comments/...).
* Allows prioritising shorter matches (Keywords vs Identifiers).

@@ -52,12 +52,12 @@ * **No code generation** The Lexer does not require any code generation phase.

* **Online tutorial**
* [step #1 Building a lexer](http://sap.github.io/chevrotain/playground/?example=tutorial%20lexer)
* [step #2 Implementing a grammar](http://sap.github.io/chevrotain/playground/?example=tutorial%20grammar)
* [step #3 Adding actions to the grammar](http://sap.github.io/chevrotain/playground/?example=tutorial%20actions)
**Online tutorial**
* Step #1 - Building a Lexer: [online version](http://sap.github.io/chevrotain/playground/?example=tutorial%20lexer) / [written version](https://github.com/SAP/chevrotain/blob/master/docs/tutorial/step1_lexing.md).
* Step #2 - Building a Parser: [online version](http://sap.github.io/chevrotain/playground/?example=tutorial%20grammar) / [written version](https://github.com/SAP/chevrotain/blob/master/docs/tutorial/step2_parsing.md).
* Step #3 - Adding actions to the Parser: [online version](http://sap.github.io/chevrotain/playground/?example=tutorial%20actions) / [written version](https://github.com/SAP/chevrotain/blob/master/docs/tutorial/step3_adding_actions.md).
* **[Examples](https://github.com/SAP/chevrotain/blob/master/examples)**
**[Examples Folder](https://github.com/SAP/chevrotain/blob/master/examples)**
## Documentation
* [Latest released version's HTML docs](http://sap.github.io/chevrotain/documentation)
* [Parsing DSL](http://sap.github.io/chevrotain/documentation/0_5_13/classes/chevrotain.parser.html#at_least_one)
* [Parsing DSL](http://sap.github.io/chevrotain/documentation/0_5_14/classes/chevrotain.parser.html#at_least_one)

@@ -74,3 +74,3 @@ * Annotated source code (dev version):

## Dependencies
Only a **single** dependency to [lodash](https://lodash.com/).
None.

@@ -77,0 +77,0 @@ ## Compatibility

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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