Skip to content

Commit

Permalink
docs: fix bad links
Browse files Browse the repository at this point in the history
  • Loading branch information
bd82 committed Apr 3, 2021
1 parent 686e0ac commit e14b3dd
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/grammars/calculator/calculator_pure_grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* of chevrotain.
*
* See farther details here:
* https://github.com/chevrotain/chevrotain/blob/master/docs/concrete_syntax_tree.md
* https://chevrotain.io/docs/guide/concrete_syntax_tree.html
*/
const { createToken, tokenMatcher, Lexer, CstParser } = require("chevrotain")

Expand Down
2 changes: 1 addition & 1 deletion examples/lexer/python_indentation/python_indentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* - To implement this the previous Ident levels will be saved in a stack.
*
* For additional details on custom token patterns, see the docs:
* https://github.com/chevrotain/chevrotain/blob/master/docs/custom_token_patterns.md
* https://chevrotain.io/docs/guide/custom_token_patterns.html#background
*/

"use strict"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/step1_lexing/step1_lexing.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict"
// Written Docs for this tutorial step can be found here:
// https://github.com/chevrotain/chevrotain/blob/master/docs/tutorial/step1_lexing.md
// https://chevrotain.io/docs/tutorial/step1_lexing.html

// Tutorial Step 1:
// Implementation of A lexer for a simple SELECT statement grammar
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/step2_parsing/step2_parsing.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict"
// Written Docs for this tutorial step can be found here:
// https://github.com/chevrotain/chevrotain/blob/master/docs/tutorial/step2_parsing.md
// https://chevrotain.io/docs/tutorial/step2_parsing.html

// Tutorial Step 2:

Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial/step3_actions/step3a_actions_visitor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict"
// Written Docs for this tutorial step can be found here:
// https://github.com/chevrotain/chevrotain/blob/master/docs/tutorial/step3a_adding_actions_separated.md
// https://chevrotain.io/docs/tutorial/step3a_adding_actions_visitor.html

// Tutorial Step 3a:

Expand Down
5 changes: 2 additions & 3 deletions examples/tutorial/step3_actions/step3b_actions_embedded.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
"use strict"
// Written Docs for this tutorial step can be found here:
// https://github.com/chevrotain/chevrotain/blob/master/docs/tutorial/step3b_adding_actions_embedded.md
// https://chevrotain.io/docs/tutorial/step3b_adding_actions_embedded.html

// Tutorial Step 3:

// Adding a actions(semantics) embedded in the grammar.
// This is the highest performance approach, but its also verbose and none modular
// Therefore using the CST Visitor is the recommended approach:
// https://github.com/chevrotain/chevrotain/blob/master/docs/tutorial/src/step3a_actions_visitor.js

// https://chevrotain.io/docs/tutorial/step3a_adding_actions_visitor.html
const selectLexer = require("../step1_lexing/step1_lexing")
const EmbeddedActionsParser = require("chevrotain").EmbeddedActionsParser
const tokenVocabulary = selectLexer.tokenVocabulary
Expand Down
4 changes: 2 additions & 2 deletions packages/chevrotain/benchmark_web/parsers/json/json_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var lexerDefinition = jsonTokens

// ----------------- parser -----------------

// https://github.com/chevrotain/chevrotain/blob/master/docs/faq.md#Q6
// https://chevrotain.io/docs/guide/performance.html#using-a-singleton-parser
// (Do not create a new Parser instance for each new input.)
var ChevrotainParser = self.globalOptions.outputCst
? chevrotain.CstParser
Expand Down Expand Up @@ -100,7 +100,7 @@ function parser(options) {
})

$.RULE("value", function () {
// Perf boost: https://github.com/chevrotain/chevrotain/blob/master/docs/faq.md#PERFORMANCE
// https://chevrotain.io/docs/guide/performance.html#caching-arrays-of-alternatives
// See "Avoid reinitializing large arrays of alternatives." section
$.OR(
// prettier-ignore
Expand Down
4 changes: 2 additions & 2 deletions packages/website/docs/changes/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ Lexer Performance oriented release.

#### Breaking Changes

- [Token patterns which may include line terminators must be explicitly flagged with the "line_breaks" property.](https://github.com/chevrotain/chevrotain/blob/master/docs/resolving_lexer_errors.md#LINE_BREAKS)
- [Token patterns which may include line terminators must be explicitly flagged with the "line_breaks" property.](https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS)

#### Major Changes

Expand Down Expand Up @@ -718,7 +718,7 @@ Lexer Performance oriented release.
#### Major Changes

- [Automatic creation of a Concrete Syntax Tree.](https://github.com/chevrotain/chevrotain/issues/215)
- See [Relevant Docs](https://github.com/chevrotain/chevrotain/blob/master/docs/concrete_syntax_tree.md).
- See [Relevant Docs](https://chevrotain.io/docs/guide/concrete_syntax_tree.html).

#### Minor Changes

Expand Down

0 comments on commit e14b3dd

Please sign in to comment.