grammars-v4

Grammars written for ANTLR v4; expectation that the grammars are free of actions. (by antlr)

Grammars-v4 Alternatives

Similar projects and alternatives to grammars-v4

  1. llama.cpp

    LLM inference in C/C++

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Lila

    591 grammars-v4 VS Lila

    Discontinued ♞ lichess.org: the forever free, adless and open source chess server ♞ [Moved to: https://github.com/lichess-org/lila] (by ornicar)

  4. ShellCheck

    ShellCheck, a static analysis tool for shell scripts

  5. oils

    266 grammars-v4 VS oils

    Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

  6. p5.js

    252 grammars-v4 VS p5.js

    p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —

  7. JDK

    205 grammars-v4 VS JDK

    JDK main-line development https://openjdk.org/projects/jdk

  8. guidance

    90 grammars-v4 VS guidance

    Discontinued A guidance language for controlling large language models. [Moved to: https://github.com/guidance-ai/guidance] (by microsoft)

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. murex

    A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)

  11. pest

    The Elegant Parser (by pest-parser)

  12. shelljs

    28 grammars-v4 VS shelljs

    :shell: Portable Unix shell commands for Node.js

  13. ANTLR

    18 grammars-v4 VS ANTLR

    ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.

  14. Presto

    18 grammars-v4 VS Presto

    The official home of the Presto distributed SQL query engine for big data

  15. scriban

    A fast, powerful, safe and lightweight scripting language and engine for .NET

  16. tree-sitter-sql

    SQL grammar for tree-sitter

  17. librdx

    Replicated Data eXchange format C lib

  18. H2

    11 grammars-v4 VS H2

    H2 is an embeddable RDBMS written in Java.

  19. coherence

    Oracle Coherence Community Edition (by oracle)

  20. sbt-antlr4

    Antlr4 plugin for sbt 1.1+ and 0.13.x

  21. rewrite

    Automated mass refactoring of source code.

  22. JavaParser

    Java 1-21 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better grammars-v4 alternative or higher similarity.

grammars-v4 discussion

Log in or Post with

grammars-v4 reviews and mentions

Posts with mentions or reviews of grammars-v4. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-11.
  • Ohm: A user-friendly parsing toolkit for JavaScript and TypeScript
    4 projects | news.ycombinator.com | 11 Feb 2025
    I found some benchmarks in the ANTLR project: https://github.com/antlr/grammars-v4/blob/master/java/java/B...

      Project          Parsing/Lexing Ratio
  • SDF to the Rescue: Overcoming dbt-osmosis's Column Rename Struggles
    3 projects | dev.to | 6 Feb 2025
    Fortunately, ANTLR provides an open-source repository (antlr/grammars-v4) containing grammar definition files for various languages—including Snowflake SQL. Using this, we can simulate how an AST might be constructed from our child1 model’s SQL.
  • Swc4j: SWC for Java
    4 projects | news.ycombinator.com | 3 Jan 2025
  • Why I love Rust for tokenising and parsing
    12 projects | news.ycombinator.com | 7 Nov 2024
    Perhaps this ANTLR v4 sqlite grammar? [1]

    --

    1: https://github.com/antlr/grammars-v4/tree/master/sql/sqlite

  • How to develop code analyzer in 48 hours
    2 projects | dev.to | 14 Aug 2024
    The issue lurks here too—we need to know how to write the grammar file for the parser. Fortunately, it's not hard to find ready-made options on GitHub, so we'll just take it from here.
  • HyperCard Simulator
    6 projects | news.ycombinator.com | 25 Jun 2024
    https://github.com/antlr/grammars-v4/blob/master/hypertalk/H...

    TodoMVC or HyperTalk? False dilemma.

  • Operadores de adição e subtração
    3 projects | dev.to | 23 Mar 2024
  • Visual Basic for Applications Language Specification [pdf]
    1 project | news.ycombinator.com | 10 Dec 2023
    Perhaps the one from ANTLR's collection [0] is a good start (there are also others ANTLR VB6 grammars documented elsewhere). It does require knowing ANTLR, but that should be less effort for someone already familiar with language implementation, particularly, the visitor pattern (my favorite reference [1]).

    [0] https://github.com/antlr/grammars-v4/tree/master/vb6

    [1] https://craftinginterpreters.com/representing-code.html

  • Postgres Language Server: Implementing the Parser
    5 projects | news.ycombinator.com | 8 Dec 2023
    Where is the SQLite test suite, please? I'd be very interested.

    There are already SQL grammars, check https://github.com/antlr/grammars-v4 specifically in here I think https://github.com/antlr/grammars-v4/tree/master/sql I contributed to one of them, and I wrote my own for some personal work. Be warned, it's very involved, very complex and MSSQL is rather ill-defined.

    Names bracket identifiers) in SQL are bloody awful. Sometimes square brackets are even compulsory, and why you can usually replace [...] with the SQL standard "..." , not always! Trust me, it gets worse.

    I don't find antlr grammars to be brittle, and while they can lose in performance (by how much I don't know, perhaps quite considerably) they are very easy to maintain and I am very fortunate to have antlr to work with.

  • Llama: Add Grammar-Based Sampling
    7 projects | news.ycombinator.com | 21 Jul 2023
    This grammar "library" was cited as an example of what the format could look like:.

    https://github.com/antlr/grammars-v4

    There is everything from assembly and C++ to glsl and scripting languages, arithmetic, games, and other weird formats.

  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic grammars-v4 repo stats
35
10,585
9.2
8 days ago

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com