Skip to content

Commit

Permalink
Update docs links.
Browse files Browse the repository at this point in the history
  • Loading branch information
igordejanovic committed Dec 27, 2018
1 parent 5d92323 commit 3d17d33
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Arpeggio is a recursive descent parser with memoization based on PEG grammars
(aka Packrat parser).

Documentation with tutorials is available `here
<http://igordejanovic.net/Arpeggio/>`_.
<http://textx.github.io/Arpeggio/>`_.

**Note:** for a higher level parsing/language tool (i.e., a nicer interface to
Arpeggio) see `textX <https://github.com/textX/textX>`_.
Expand All @@ -26,5 +26,5 @@ Arpeggio) see `textX <https://github.com/textX/textX>`_.
:target: https://travis-ci.org/textX/Arpeggio

.. |docs| image:: https://img.shields.io/badge/docs-latest-green.svg
:target: http://igordejanovic.net/Arpeggio/latest/
:target: http://textx.github.io/Arpeggio/latest/
:alt: Documentation Status
6 changes: 3 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

In this folders you can find various examples. Each folder contains an example
and the accompanying files. Some of the examples are given in both
[Python](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-python)
[Python](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-python)
and [PEG
syntax](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-peg-notations).
syntax](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-peg-notations).
PEG syntax variant is named `*_peg.py` and the textual PEG grammar is defined in
separate `*.peg` file.

Expand All @@ -23,7 +23,7 @@ $ python <example_name>.py
```

Install Arpeggio before trying examples. To install Arpeggio read the [Getting
started guide](http://igordejanovic.net/Arpeggio/getting_started/).
started guide](http://textx.github.io/Arpeggio/getting_started/).



2 changes: 1 addition & 1 deletion examples/bibtex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ To run this example execute:
$ python bibtex.py bibtex_example.bib
```

Read [the full tutorial](http://igordejanovic.net/Arpeggio/tutorials/bibtex/)
Read [the full tutorial](http://textx.github.io/Arpeggio/tutorials/bibtex/)
following this example.

8 changes: 4 additions & 4 deletions examples/calc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ and basic arithmetic operations (addition, subtraction, multiplication and
division).

`calc.py` defines grammar using [python
language](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-python).
language](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-python).

`calc_peg.py` shows the same example where grammar is specified using a
traditional textual [PEG
notation](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-peg-notations).
notation](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-peg-notations).
The grammar is in `calc.peg` file.

`calc_cleanpeg.py` shows the same example where grammar is specified using a
"clean" variant of textual [PEG
notation](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-peg-notations).
notation](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-peg-notations).
The grammar is in `calc_clean.peg` file.


Expand Down Expand Up @@ -42,5 +42,5 @@ $ dot -Tpng -O *dot
```

The full tutorial based on this example can be found
[here](http://igordejanovic.net/Arpeggio/tutorials/calc/).
[here](http://textx.github.io/Arpeggio/tutorials/calc/).

6 changes: 3 additions & 3 deletions examples/csv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ This is an example of a parser for a simple data interchange format - CSV
It is described by RFC 4180.

`csv.py` file is an implementation using [Python grammar
specification](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-python).
specification](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-python).
`csv_peg.py` file is the same parser implemented using [PEG grammar
syntax](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-peg-notations)
syntax](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-peg-notations)
where the grammar is specified in the `csv.peg` file.

Run this examples:
Expand All @@ -19,5 +19,5 @@ $ python csv_peg.py
The output of both examples should be the same as the same file is parsed and
the same semantic analysis is used to extract data.

The full tutorial following this example can be found [here](http://igordejanovic.net/Arpeggio/tutorials/csv/)
The full tutorial following this example can be found [here](http://textx.github.io/Arpeggio/tutorials/csv/)

2 changes: 1 addition & 1 deletion examples/json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
In this example a parser for [JSON format](http://json.org/) is built.

`json.py` will load data from `test.json` file and build a [parse
tree](http://igordejanovic.net/Arpeggio/parse_trees/).
tree](http://textx.github.io/Arpeggio/parse_trees/).

To run the example execute:

Expand Down
2 changes: 1 addition & 1 deletion examples/json/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def main(debug=False):
parse_tree = parser.parse(testdata)

# parse_tree can now be analysed and transformed to some other form
# using e.g. visitor support. See http://igordejanovic.net/Arpeggio/semantics/
# using e.g. visitor support. See http://textx.github.io/Arpeggio/semantics/

if __name__ == "__main__":
# In debug mode dot (graphviz) files for parser model
Expand Down
2 changes: 1 addition & 1 deletion examples/peg_peg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You should verify that there are three parser model graphs and all the three are
the same:
- parser model produced by the canonical PEG grammar definition specified in
`arpeggio.peg` module using [Python
notation](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-python).
notation](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-python).
- parser model produced by the `ParserPEG` construction that represent the
grammar loaded from the `peg.peg` file.
- parser model created by applying `PEGVisitor` explicitly to the parse tree
Expand Down
4 changes: 2 additions & 2 deletions examples/robot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
In this example a parser for simple language for robot control is demonstrated.

`robot.py` will instantiate a parser for [grammar defined using
Python](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-python).
Python](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-python).
`robot_peg.py` is the same parser but constructed using a [PEG
grammar](http://igordejanovic.net/Arpeggio/grammars/#grammars-written-in-peg-notations)
grammar](http://textx.github.io/Arpeggio/grammars/#grammars-written-in-peg-notations)
defined in file `robot.peg`.

This example demonstrates how to interpret the program on robot language using
Expand Down

0 comments on commit 3d17d33

Please sign in to comment.