crosseno / compiler
Deterministic offline compilation of raw lexical data into immutable Crosseno language packs.
dev-main
2026-07-26 18:52 UTC
Requires
- php: ^8.5
- ext-intl: *
- ext-pdo: *
- ext-pdo_sqlite: *
- crosseno/core: ^0.1
- crosseno/lexicon: ^0.1
Requires (Dev)
- crosseno/lexicon-sqlite: ^0.1
- friendsofphp/php-cs-fixer: ^3.95
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^12.5
This package is auto-updated.
Last update: 2026-07-26 18:59:22 UTC
README
Deterministic offline compilation of raw lexical data into immutable Crosseno language packs.
Install and check
composer install composer check
CLI
vendor/bin/crosseno-compiler import csv words.csv canonical.ndjson vendor/bin/crosseno-compiler compile compiler.json build/pack vendor/bin/crosseno-compiler validate build/pack vendor/bin/crosseno-compiler inspect build/pack vendor/bin/crosseno-compiler stats build/pack
compile accepts local CSV, TSV, JSON, NDJSON, SQLite, and WordNet-like JSON sources. The configuration format is documented by resources/schema/compiler-config-v1.schema.json; examples/compiler.json is a minimal template. V1 intentionally performs no remote fetching.
Catalog-only artifacts are development outputs. Publishable packs additionally install an implementation of ArtifactWriterInterface from crosseno/lexicon-index to emit solver.idx.