equal
deleted
inserted
replaced
|
1 ![PetitParser](http://scg.unibe.ch/files/c0/gidr6vlrj4aw5k22a3y9fajle0qui0/petitparser-small.png) |
|
2 |
|
3 |
|
4 # PetitParser and PetitCompiler for Smalltalk/X |
|
5 |
|
6 ## PetitParser |
|
7 |
|
8 *Grammars for programming languages are traditionally specified statically. |
|
9 They are hard to compose and reuse due to ambiguities that inevitably arise. |
|
10 **PetitParser** combines ideas from scannerless parsing, parser combinators, |
|
11 parsing expression grammars and packrat parsers to model grammars and parsers |
|
12 as objects that can be reconfigured dynamically.* |
|
13 |
|
14 For more details on PetitParser itself refer to [PetitParser homepage](http://scg.unibe.ch/research/helvetia/petitparser) |
|
15 |
|
16 ## PetitCompiler |
|
17 |
|
18 **PetitCompiler** compiles regular PetitParser grammars into an equivalent top-down |
|
19 parser implemented in Smalltalk. The compiled parser is significantly faster than |
|
20 PetitParser based one. |
|
21 |
|
22 ### Documentation |
|
23 |
|
24 For more information on how to use PetitCompiler refer to [wiki](https://bitbucket.org/janvrany/stx-goodies-petitparser/wiki/Home) |
|
25 |
|
26 # Installation |
|
27 |
|
28 See [installation notes](https://bitbucket.org/janvrany/stx-goodies-petitparser/wiki/Installation) on [wiki](https://bitbucket.org/janvrany/stx-goodies-petitparser/wiki/Home) |
|
29 |
|
30 # License |
|
31 |
|
32 The MIT License, see [LICENSE](https://bitbucket.org/janvrany/stx-goodies-petitparser/src/default/LICENSE.txt?at=default&fileviewer=file-view-default). |
|
33 |