tecta-peg 0.1.1

PDA-based TECTA PEG parser
Documentation
  • Coverage
  • 56.52%
    52 out of 92 items documented0 out of 54 items with examples
  • Size
  • Source code size: 52.84 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 11.21 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 24s Average build duration of successful builds.
  • all releases: 47s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • KaliTheCatgirl

TECTA PEG

A simple PEG descriptor language that uses a push-down automata to parse language rules.

This crate is the reference implementation of rule parsing.

Purpose-built for TECTA.

Described in manual.typ.

Currently, the bin crate parses an input file and prints the interpreted result.

TODO

  • Rule parsing
  • Library API
  • Weakly-typed token parsing
  • Strongly-typed token parsing (likely type generation through proc macros)