README.md
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 13:01:14 +0100
changeset 642 77d5fddb6462
parent 548 5536a6da50e4
permissions -rw-r--r--
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present - All source *.st files are now Unicode UTF8 without BOM Files are in two groups (fileOut works this way in Smalltalk/X): - containing a unicode character have "{ Encoding: utf8 }" at the header - ASCII only are without the header

![PetitParser](http://scg.unibe.ch/files/c0/gidr6vlrj4aw5k22a3y9fajle0qui0/petitparser-small.png)


# PetitParser and PetitCompiler for Smalltalk/X

## PetitParser 

*Grammars for programming languages are traditionally specified statically. 
They are hard to compose and reuse due to ambiguities that inevitably arise. 
**PetitParser** combines ideas from scannerless parsing, parser combinators, 
parsing expression grammars and packrat parsers to model grammars and parsers 
as objects that can be reconfigured dynamically.*

For more details on PetitParser itself refer to [PetitParser homepage](http://scg.unibe.ch/research/helvetia/petitparser)

## PetitCompiler

**PetitCompiler** compiles regular PetitParser grammars into an equivalent top-down 
parser implemented in Smalltalk. The compiled parser is significantly faster than
PetitParser based one. 

### Documentation 

For more information on how to use PetitCompiler refer to [wiki](https://bitbucket.org/janvrany/stx-goodies-petitparser/wiki/Home)

# Installation

See [installation notes](https://bitbucket.org/janvrany/stx-goodies-petitparser/wiki/Installation) on [wiki](https://bitbucket.org/janvrany/stx-goodies-petitparser/wiki/Home)

# License

The MIT License, see [LICENSE](https://bitbucket.org/janvrany/stx-goodies-petitparser/src/default/LICENSE.txt?at=default&fileviewer=file-view-default).