Removing ambiguity in grammar

This page summarizes the projects mentioned and recommended in the original post on /r/Compilers

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • grammars-v4

    Grammars written for ANTLR v4; expectation that the grammars are free of actions.

  • Additionally, I presume that this is a subset of C? If not, C cannot really be expressed as an LL(1) grammar. LL(k) is possible, and here is an example in ANTLR - https://github.com/antlr/grammars-v4/blob/master/c/C.g4. In fact, this syntax is close enough to BNF that you could probably read it to understand how to tweak to your usecase (again, assuming a subset of C).

  • acwj

    A Compiler Writing Journey

  • As an aside, you might also find this series useful - https://github.com/DoctorWkt/acwj/blob/master/00_Introduction/Readme.md You can skip the code and simply read through the markdown files to get an idea of the whole journey, possibly saving you many deadends along your own journey.

  • 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
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts