DAGDA SEARCH | Back to results | Support

pegmill · GitHub

Source: https://github.com/pegmill

@pegmill

pegmill

PEG parser generator for TypeScript. PEG grammars as LLM output constraints. README.md

peg ::= mill

Parser infrastructure for the TypeScript stack. Apache 2.0. Independently funded, sustainable through OSS-aligned commercial services.

Projects

Why this exists

Constrained decoding for open-weight LLMs lives in Python (Outlines) or C++ (llama.cpp GBNF; XGrammar ships C++ with JS via emscripten build, no npm package). TypeScript has no equivalent with full PEG expressiveness. Pegmill fills that gap.

Support

A star helps. A link from your own project docs helps more. GitHub Sponsors and hello@pegmill.dev for anything bigger.

Popular repositories Loading

  1. pegmill pegmill Public

    PEG grammars as LLM output constraints. TypeScript-native parser generator with parametric rules.

    JavaScript 5 1

  2. pegmill.github.io pegmill.github.io Public

    Landing page for Pegmill — PEG grammars as LLM output constraints

    HTML

  3. .github .github Public

    Community health and organization profile

Repositories

Showing 3 of 3 repositories

People

@zag

Top languages

Loading…

Uh oh!

There was an error while loading. Please reload this page.

Most used topics

Loading…

Uh oh!

There was an error while loading. Please reload this page.