packagefactory / grammar
LALR(1)-Parser Generator
v0.5.1
2025-05-11 08:45 UTC
Requires
- php: >=8.2
Requires (Dev)
- phpbench/phpbench: ^1.4
- phpstan/phpstan: ^2.1
- phpunit/php-code-coverage: ^11.0
- phpunit/phpunit: ^11.5
This package is not auto-updated.
Last update: 2025-05-11 08:44:46 UTC
README
LALR(1)-Parser Generator
Development
For common automated development tasks, the repository contains several scripts which can be run via:
./scripts/{script-name}
script-name | description |
---|---|
analyse | Run static code analysis with phpstan |
test | Run tests with phpunit |
Running tests
There's a test suite for unit tests and another one for integration tests. By default both test suites are run entirely. In order to just run one of them, you need to add the --testsuite
parameter to the script call, e.g.:
./scripts/test --testsuite unit
./scripts/test --testsuite integration
License
see LICENSE