Skip to main content

A PEG Parser generator in TypeScript

Project description

꘩TS’emekwes

꘩TS’emekwes A PEG parser generator in TypeScript

꘩TS’emekwes is the Go sibling of 竜TatSu (Python), ⻰OGoPEGo (Go), and 铁修TieXiu (Rust). It is functionally complete and passes the same test suite as its siblings.

Refer to the 竜TatSu documentation for grammar syntax, semantics, and usage. The local SYNTAX.md describes the grammar format.

See the CHANGELOG for a list of present and pending features.

The CLI tool is a great way to explored the features offered by the library:

$ bin/emekwes run --help
Usage: emekwes run [options] <grammar> [inputs...]

execute a grammar against one or more input files

Options:
  -j, --json            output the parse tree in JSON format
  -s, --start <rule>    name of the start rule (default: "start")
  -n, --nproc <number>  number of concurrent workers (default: CPU count)
                        (default: 0)
  -h, --help            display help for command

Global Options:
  -c, --color <when>    control terminal color output (choices: "auto",
                        "always", "never", default: "auto")
  -o, --output <path>   write output to file instead of stdout
  -t, --trace           display a detailed trace of the parsing process
  -q, --quiet           suppress progress bar output
  -V, --version         output the version number

License

Licensed under the Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

Contribution

Unless explicitly stated otherwise, any contribution intentionally submitted for inclusion in the work, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tsemekwes-0.1.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tsemekwes-0.1.0-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file tsemekwes-0.1.0.tar.gz.

File metadata

  • Download URL: tsemekwes-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tsemekwes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 605f6da4f923e9dcaeafb6f8564abd0d2fce27b0a19a8c09351ef6ae4acc8a5b
MD5 5c75eb5e2c86ebf6a56a271b1df52182
BLAKE2b-256 7a9003c3cc6a79f4e3743b1083d2e293c97c9bd655cc6574592fafa177d82158

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsemekwes-0.1.0.tar.gz:

Publisher: publish.yml on neogeny/TSemekwes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tsemekwes-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tsemekwes-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tsemekwes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 587ed9863754eb6c566d573d3ec3c32f398f41b75c5e940ac654503dae52de45
MD5 a3b9b9391e2a8a161585318a577b10bb
BLAKE2b-256 3cb2963e7cbdf9704ba237f63cb972c65f86875379e3f5d4fffa33c59d8bdda7

See more details on using hashes here.

Provenance

The following attestation bundles were made for tsemekwes-0.1.0-py3-none-any.whl:

Publisher: publish.yml on neogeny/TSemekwes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page