C Peg

Open-source C projects categorized as Peg

Top 3 C Peg Projects

  • packcc

    A parser generator for C

  • Project mention: A glimpse into the universe where Windows died with the 1980s | news.ycombinator.com | 2024-03-12

    There are languages with perfectly clean grammars which can't be parsed by yacc because they aren't LALR(1).

    I agree that a command processor should have a grammar that can be expressed in a well-known formalism, and its parser generated by a parser generator.

    I agree that both POSIX shell and CMD.EXE are flawed because that isn't true.

    What I'm disagreeing with, is that it is important that the grammar formalism be LALR(1) in particular, and that the parser generator be yacc in particular.

    Suppose I have a Packrat parser generator. [0] And my command processor has a nice clean PEG grammar. And I use the Packrat parser generator to generate the parser of my command processor. That grammar quite possibly isn't LALR(1), and hence yacc in particular won't be able to generate a parser for it. But what's the problem with that? If it is a problem at all, it is a very different problem than the problem that CMD.EXE and POSIX shell have

    [0] e.g. https://github.com/arithy/packcc

  • PeppaPEG

    PEG Parser in ANSI C

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pega-texto

    Single-file Parsing Expression Grammars (PEG) runtime engine for C

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Peg related posts

  • Header only Parsing Expression Grammars (PEG) runtime engine for C

    1 project | /r/Compilers | 18 Feb 2021
  • Header only Parsing Expression Grammars (PEG) runtime engine for C

    2 projects | /r/C_Programming | 18 Feb 2021

Index

What are some of the best open-source Peg projects in C? This list will help you:

Project Stars
1 packcc 322
2 PeppaPEG 53
3 pega-texto 17

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com