Skip to content

Commit 507fe8b

Browse files
committed
Forked jakubledl\dissect
0 parents  commit 507fe8b

File tree

87 files changed

+6712
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+6712
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
vendor/
2+
composer.phar
3+
composer.lock

.idea/dissect.iml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: php
2+
3+
php:
4+
- 5.3
5+
- 5.4
6+
7+
branches:
8+
only:
9+
- master
10+
- develop
11+
12+
before_script:
13+
- wget http://getcomposer.org/composer.phar
14+
- php composer.phar dump-autoload

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Changelog
2+
=========
3+
4+
1.0.1 (2013-01-29)
5+
------------------
6+
7+
- 2b40f94: Fixed an invalid format in the CLI
8+
9+
1.0.0 (2013-01-15)
10+
------------------
11+
12+
- First release.

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Welcome to Dissect!
2+
- [master](https://github.com/jakubledl/dissect/tree/master) [![build status](https://travis-ci.org/jakubledl/dissect.png?branch=master)](https://travis-ci.org/jakubledl/dissect) - this branch always contains the last stable version.
3+
- [develop](https://github.com/jakubledl/dissect) [![build status](https://travis-ci.org/jakubledl/dissect.png?branch=develop)](https://travis-ci.org/jakubledl/dissect) - the unstable development branch.
4+
5+
Dissect is a set of tools for lexical and syntactical analysis written
6+
in pure PHP.
7+
8+
Documentation?
9+
--------------
10+
11+
[Here][docs].
12+
13+
[docs]: https://github.com/jakubledl/dissect/blob/master/docs/index.md

TODO.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Goals
2+
=====
3+
4+
1.1
5+
---
6+
7+
- Optional operator precedence support (à la *yacc*, *bison*) - ✔
8+
- A performance-oriented regex lexer (based on doctrine/lexer) - ✔
9+
- An option to generate a hybrid recursive ascent parser - □
10+
11+
1.0
12+
---
13+
14+
- Compute reduction lookahead by the channel algorithm from *yacc*
15+
instead of the current LALR-by-SLR algorithm - ✔
16+
- Change the analyzer API to allow for grammar debugging
17+
(provide access to resolved conflicts, dumping the automaton to DOT ...) - ✔
18+
- Provide classes for dumping the parse table to PHP (both the dev & prod version) - ✔

UNLICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author
9+
of this software dedicates any and all copyright interest in the
10+
software to the public domain. I make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. I intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <http://unlicense.org/>

bin/dissect

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env php
2+
<?php
3+
4+
require __DIR__ . '/dissect.php';

0 commit comments

Comments
 (0)