Skip to content

Commit

Permalink
release 0.5.16
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahar Soel committed Jan 29, 2016
1 parent 307e01c commit 1a3240c
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -58,8 +58,8 @@ deploy:
api_key:
secure: DNq1wbqLPHVpJPDx9O89HZM+RJB6v2R7/wk8pok7Z8NT72kUWdvbqcThGhczPO4sZ8cUTJ3ergTCE8hs9mynlR/lX6932U4fj4+uICQL9+G+deBB/t2SNyTBllkE64WrJ9BKmQvIk/Chh7ZJOM0Fro3p2BIq3JsVnfYg1tZ3U5o=
file:
- package/chevrotain-binaries-0.5.15.zip
- package/chevrotain-binaries-0.5.15.tar.gz
- package/chevrotain-binaries-0.5.16.zip
- package/chevrotain-binaries-0.5.16.tar.gz
on:
tags : true
all_branches: true
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "chevrotain",
"version": "0.5.15",
"version": "0.5.16",
"description": "Chevrotain is a high performance fault Tolerant Javascript parsing DSL for building recursive decent parsers",
"main": "release/chevrotain.js",
"dependencies": {},
Expand Down
16 changes: 8 additions & 8 deletions docs/tutorial/step2_parsing.md
Expand Up @@ -44,16 +44,16 @@ relationalOperator

A Chevrotain Parser analyses a [Token](https://github.com/SAP/chevrotain/blob/master/src/scan/tokens_public.ts#L61) vector
that conforms to some grammar.
The grammar is defined using the [parsing DSL](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#at_least_one),
The grammar is defined using the [parsing DSL](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#at_least_one),
Which includes the following methods.

* [CONSUME](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#consume1) - 'eat' a Token.
* [SUBRULE](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#subrule1) - reference to another rule.
* [OPTION](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#option1) - optional production.
* [MANY](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#many1) - repetition zero or more.
* [AT_LEAST_ONE](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#at_least_one1) - repetition one or more.
* [MANY_SEP](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#many_sep1) - repetition (zero or more) with a separator between any two items
* [AT_LEAST_ONE_SEP](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#at_least_one_sep1) - repetition (one or more) with a separator between any two items
* [CONSUME](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#consume1) - 'eat' a Token.
* [SUBRULE](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#subrule1) - reference to another rule.
* [OPTION](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#option1) - optional production.
* [MANY](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#many1) - repetition zero or more.
* [AT_LEAST_ONE](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#at_least_one1) - repetition one or more.
* [MANY_SEP](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#many_sep1) - repetition (zero or more) with a separator between any two items
* [AT_LEAST_ONE_SEP](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#at_least_one_sep1) - repetition (one or more) with a separator between any two items


#### Lets implement our first grammar rule.
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial/step3_adding_actions.md
Expand Up @@ -18,9 +18,9 @@ validates the input conforms to the grammar. In most real world use cases the pa
result/data structure/value.

This can be accomplished using two features of the Parsing DSL:
* [CONSUME](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#consume1) will return
The [Token](http://sap.github.io/chevrotain/documentation/0_5_15/classes/token.html) instance consumed.
* [SUBRULE](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#subrule1) will return
* [CONSUME](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#consume1) will return
The [Token](http://sap.github.io/chevrotain/documentation/0_5_16/classes/token.html) instance consumed.
* [SUBRULE](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#subrule1) will return
the result on invoking the rule.


Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "chevrotain",
"version": "0.5.15",
"version": "0.5.16",
"description": "Chevrotain is a high performance fault tolerant javascript parsing DSL for building recursive decent parsers",
"keywords": [
"parser",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -57,7 +57,7 @@ any code generation phase.

## Documentation
* [Latest released version's HTML docs](http://sap.github.io/chevrotain/documentation)
* [Parsing DSL](http://sap.github.io/chevrotain/documentation/0_5_15/classes/parser.html#at_least_one)
* [Parsing DSL](http://sap.github.io/chevrotain/documentation/0_5_16/classes/parser.html#at_least_one)

* Annotated source code (dev version):
* [tokens_public.ts](https://github.com/SAP/chevrotain/blob/master/src/scan/tokens_public.ts)
Expand Down
2 changes: 1 addition & 1 deletion release/chevrotain.d.ts
@@ -1,4 +1,4 @@
/*! chevrotain - v0.5.15 - 2016-01-18 */
/*! chevrotain - v0.5.16 - 2016-01-29 */
declare namespace chevrotain {
class HashTable<V>{}
export function tokenName(clazz: Function): string;
Expand Down
6 changes: 3 additions & 3 deletions release/chevrotain.js
@@ -1,4 +1,4 @@
/*! chevrotain - v0.5.15 - 2016-01-18 */
/*! chevrotain - v0.5.16 - 2016-01-29 */

(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
Expand Down Expand Up @@ -68,7 +68,7 @@ return /******/ (function(modules) { // webpackBootstrap
*/
var API = {};
// semantic version
API.VERSION = "0.5.15";
API.VERSION = "0.5.16";
// runtime API
API.Parser = parser_public_1.Parser;
API.Lexer = lexer_public_1.Lexer;
Expand Down Expand Up @@ -1707,7 +1707,7 @@ return /******/ (function(modules) { // webpackBootstrap
}
exports.has = has;
function contains(arr, item) {
return find(arr, function (currItem) { return currItem === item; }) ? true : false;
return find(arr, function (currItem) { return currItem === item; }) !== undefined ? true : false;
}
exports.contains = contains;
/**
Expand Down
9 changes: 4 additions & 5 deletions release/chevrotain.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/api.ts
Expand Up @@ -12,7 +12,7 @@ import {clearCache} from "./parse/cache_public"
let API:any = {}

// semantic version
API.VERSION = "0.5.15"
API.VERSION = "0.5.16"

// runtime API
API.Parser = Parser
Expand Down

0 comments on commit 1a3240c

Please sign in to comment.