Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
How to create a small json lib using antlr and shapeless
4 projects | dev.to | 7 May 2021
The source code of a whole project could be found here: https://github.com/nryanov/json-serde
Creating custom formatter for Java
3 projects | reddit.com/r/javahelp | 15 May 2022
Initially, I was thinking about learning ANT and using it, but I see that they provided grammars for: java8 and java9 https://github.com/antlr/grammars-v4/tree/master/java
Guide: Hush Shell-Scripting Language
23 projects | news.ycombinator.com | 25 Apr 2022
Why use types? Why not introduce built in parsers to provide validations instead? (i.e. https://github.com/antlr/grammars-v4)
I think hush is going in the wrong direction. The majority of shell automation is associated with running IaC and container images / orchestration tools.
Shell scripts don't need to follow functional programming or OOP. They need to be container-oriented / VM-oriented / image-oriented with a conformation to YAML notation as this is already the adopted norm for containers and IaC.
Open Source SQL Parsers
9 projects | news.ycombinator.com | 21 Apr 2022
I believe antlr has grammars for other sql syntaxes (sqlite, tsql, etc): https://github.com/antlr/grammars-v4/tree/master/sql
Removing ambiguity in grammar
2 projects | reddit.com/r/Compilers | 16 Jan 2022
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).
what would you use to write a parser in 2021?
4 projects | reddit.com/r/Compilers | 4 Dec 2021
Oh come on. Just on github alone, there's over 200 ANTLR4 grammars available many for well known languages created before ANTLR was even invented --- how exactly are those languages constrained?4 projects | reddit.com/r/Compilers | 4 Dec 2021
Grammar (Antlr) ... How to solve this kind of ambiguity
2 projects | reddit.com/r/learnprogramming | 19 Sep 2021
I started from this grammar: https://github.com/antlr/grammars-v4/tree/master/pgn
Oracle SQL Is The Devil
2 projects | reddit.com/r/programming | 10 Sep 2021
ANTLR SQL grammar here2 projects | reddit.com/r/programming | 10 Sep 2021
Are Functional Programming Languages the best option for Crafting a Compiler?
4 projects | reddit.com/r/Compilers | 5 Sep 2021
You said you wanted to write an LL() grammar -- those are context-free grammars. Having said that, assuming you have developed a decent symbol table manager (which you have to do anyway*), it's trivial to use context if necessary. Here is the repository of example ANTLR4 grammars (including many well known context-sensitive languages) - by the way, that's one of the arguments for using the visitor pattern rather than the listener pattern.
What are some alternatives?
Presto - The official home of the Presto distributed SQL query engine for big data
ANTLR - ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
go-mysql-server - A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.
rewrite - Semantic code search and transformation
sbt-antlr4 - Antlr4 plugin for sbt 1.1+ and 0.13.x
rhizome - A JIT for Ruby, implemented in pure Ruby
JSqlParser - JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern
sqlparse - A non-validating SQL parser module for Python
coherence - Oracle Coherence Community Edition
JavaParser - Java 1-15 Parser and Abstract Syntax Tree for Java, including preview features to Java 13