|
1 |
| - |
2 |
| - |
3 |
| -Hoa is a **modular**, **extensible** and **structured** set of PHP libraries. |
4 |
| -Moreover, Hoa aims at being a bridge between industrial and research worlds. |
5 |
| - |
6 |
| -# Hoa\Compiler  |
| 1 | +<p align="center"> |
| 2 | + <img src="https://static.hoa-project.net/Image/Hoa.svg" alt="Hoa" width="250px" /> |
| 3 | +</p> |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +<p align="center"> |
| 8 | + <a href="https://travis-ci.org/hoaproject/compiler"><img src="https://img.shields.io/travis/hoaproject/compiler/master.svg" alt="Build status" /></a> |
| 9 | + <a href="https://coveralls.io/github/hoaproject/compiler?branch=master"><img src="https://img.shields.io/coveralls/hoaproject/compiler/master.svg" alt="Code coverage" /></a> |
| 10 | + <a href="https://packagist.org/packages/hoa/compiler"><img src="https://img.shields.io/packagist/dt/hoa/compiler.svg" alt="Packagist" /></a> |
| 11 | + <a href="https://hoa-project.net/LICENSE"><img src="https://img.shields.io/packagist/l/hoa/compiler.svg" alt="License" /></a> |
| 12 | +</p> |
| 13 | +<p align="center"> |
| 14 | + Hoa is a <strong>modular</strong>, <strong>extensible</strong> and |
| 15 | + <strong>structured</strong> set of PHP libraries.<br /> |
| 16 | + Moreover, Hoa aims at being a bridge between industrial and research worlds. |
| 17 | +</p> |
| 18 | + |
| 19 | +# Hoa\Compiler |
| 20 | + |
| 21 | +[](https://webchat.freenode.net/?channels=#hoaproject) |
| 22 | +[](https://gitter.im/hoaproject/central) |
| 23 | +[](https://central.hoa-project.net/Documentation/Library/Compiler) |
| 24 | +[](https://waffle.io/hoaproject/compiler) |
7 | 25 |
|
8 | 26 | This library allows to manipulate LL(1) and LL(k) compiler compilers. A
|
9 | 27 | dedicated grammar description language is provided for the last one: the PP
|
10 | 28 | language.
|
11 | 29 |
|
| 30 | +[Learn more](https://central.hoa-project.net/Documentation/Library/Compiler). |
| 31 | + |
12 | 32 | ## Installation
|
13 | 33 |
|
14 |
| -With [Composer](http://getcomposer.org/), to include this library into your |
15 |
| -dependencies, you need to require |
16 |
| -[`hoa/compiler`](https://packagist.org/packages/hoa/compiler): |
| 34 | +With [Composer](https://getcomposer.org/), to include this library into |
| 35 | +your dependencies, you need to |
| 36 | +require [`hoa/compiler`](https://packagist.org/packages/hoa/compiler): |
17 | 37 |
|
18 |
| -```json |
19 |
| -{ |
20 |
| - "require": { |
21 |
| - "hoa/compiler": "~3.0" |
22 |
| - } |
23 |
| -} |
| 38 | +```sh |
| 39 | +$ composer require hoa/compiler '~3.0' |
| 40 | +``` |
| 41 | + |
| 42 | +For more installation procedures, please read [the Source |
| 43 | +page](https://hoa-project.net/Source.html). |
| 44 | + |
| 45 | +## Testing |
| 46 | + |
| 47 | +Before running the test suites, the development dependencies must be installed: |
| 48 | + |
| 49 | +```sh |
| 50 | +$ composer install |
24 | 51 | ```
|
25 | 52 |
|
26 |
| -Please, read the website to [get more informations about how to |
27 |
| -install](http://hoa-project.net/Source.html). |
| 53 | +Then, to run all the test suites: |
| 54 | + |
| 55 | +```sh |
| 56 | +$ vendor/bin/hoa test:run |
| 57 | +``` |
| 58 | + |
| 59 | +For more information, please read the [contributor |
| 60 | +guide](https://hoa-project.net/Literature/Contributor/Guide.html). |
28 | 61 |
|
29 | 62 | ## Quick usage
|
30 | 63 |
|
@@ -223,18 +256,35 @@ foreach ($sampler as $i => $data) {
|
223 | 256 |
|
224 | 257 | ## Documentation
|
225 | 258 |
|
226 |
| -Different documentations can be found on the website: |
227 |
| -[http://hoa-project.net/](http://hoa-project.net/). |
| 259 | +The |
| 260 | +[hack book of `Hoa\Compiler`](https://central.hoa-project.net/Documentation/Library/Compiler) contains |
| 261 | +detailed information about how to use this library and how it works. |
| 262 | + |
| 263 | +To generate the documentation locally, execute the following commands: |
| 264 | + |
| 265 | +```sh |
| 266 | +$ composer require --dev hoa/devtools |
| 267 | +$ vendor/bin/hoa devtools:documentation --open |
| 268 | +``` |
| 269 | + |
| 270 | +More documentation can be found on the project's website: |
| 271 | +[hoa-project.net](https://hoa-project.net/). |
| 272 | + |
| 273 | +## Getting help |
| 274 | + |
| 275 | +There are mainly two ways to get help: |
| 276 | + |
| 277 | + * On the [`#hoaproject`](https://webchat.freenode.net/?channels=#hoaproject) |
| 278 | + IRC channel, |
| 279 | + * On the forum at [users.hoa-project.net](https://users.hoa-project.net). |
228 | 280 |
|
229 |
| -## Research papers |
| 281 | +## Contribution |
230 | 282 |
|
231 |
| -* *[Grammar-Based Testing using Realistic Domains in PHP](http://hoa-project.net/En/Literature/Research/Amost12.pdf)*, |
232 |
| - presented at |
233 |
| - [A-MOST 2012](https://sites.google.com/site/amost2012/) (Montréal, Canada), |
234 |
| - [presentation](http://keynote.hoa-project.net/Amost12/EDGB12.pdf) and |
235 |
| - [details](http://hoa-project.net/En/Event/Amost12.html). |
| 283 | +Do you want to contribute? Thanks! A detailed [contributor |
| 284 | +guide](https://hoa-project.net/Literature/Contributor/Guide.html) explains |
| 285 | +everything you need to know. |
236 | 286 |
|
237 | 287 | ## License
|
238 | 288 |
|
239 |
| -Hoa is under the New BSD License (BSD-3-Clause). Please, see |
240 |
| -[`LICENSE`](http://hoa-project.net/LICENSE). |
| 289 | +Hoa is under the New BSD License (BSD-3-Clause). Please, see |
| 290 | +[`LICENSE`](https://hoa-project.net/LICENSE) for details. |
0 commit comments