Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Commit d342bd4

Browse files
committed
Documentation: New README.md file.
1 parent a14b1eb commit d342bd4

File tree

1 file changed

+77
-27
lines changed

1 file changed

+77
-27
lines changed

README.md

Lines changed: 77 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,63 @@
1-
![Hoa](http://static.hoa-project.net/Image/Hoa_small.png)
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 ![state](http://central.hoa-project.net/State/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+
[![Help on IRC](https://img.shields.io/badge/help-%23hoaproject-ff0066.svg)](https://webchat.freenode.net/?channels=#hoaproject)
22+
[![Help on Gitter](https://img.shields.io/badge/help-gitter-ff0066.svg)](https://gitter.im/hoaproject/central)
23+
[![Documentation](https://img.shields.io/badge/documentation-hack_book-ff0066.svg)](https://central.hoa-project.net/Documentation/Library/Compiler)
24+
[![Board](https://img.shields.io/badge/organisation-board-ff0066.svg)](https://waffle.io/hoaproject/compiler)
725

826
This library allows to manipulate LL(1) and LL(k) compiler compilers. A
927
dedicated grammar description language is provided for the last one: the PP
1028
language.
1129

30+
[Learn more](https://central.hoa-project.net/Documentation/Library/Compiler).
31+
1232
## Installation
1333

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):
1737

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
2451
```
2552

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).
2861

2962
## Quick usage
3063

@@ -223,18 +256,35 @@ foreach ($sampler as $i => $data) {
223256

224257
## Documentation
225258

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).
228280

229-
## Research papers
281+
## Contribution
230282

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.
236286

237287
## License
238288

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

Comments
 (0)