Tagged articles
ANTLR
14 articles · Page 1 of 1
The article explains how a large‑scale data‑development IDE leverages ANTLR4 to build a custom SparkSQL parser that provides real‑time syntax checking, auto‑completion, and validation by generating ASTs, using listeners for context, optimizing performance, and exploring future integration with large language models.
ANTLRSQLSparkSQL
0 likes · 24 min read

This article walks through the fundamentals of compiler front‑end development, covering lexical analysis, parsing, and semantic analysis, and provides hands‑on Antlr examples for Java code to illustrate each stage.
ANTLRCompilerlexical analysis
0 likes · 11 min read

This article introduces the fundamentals of compiler front‑end development, covering lexical analysis with finite automata, syntax analysis using context‑free grammars and parsing strategies, and semantic analysis concepts, while providing practical Antlr examples for Java code tokenization, parsing, and semantic checks.
ANTLRCompilerSyntax Analysis
0 likes · 11 min read


JD TechDec 14, 2022 · Backend Development
This article examines the ZCube rule engine, detailing its architecture, visual rule modeling tools, DSL and ANTLR integration, RETE algorithm implementation, knowledge package deployment, AB testing, and runtime execution flow, illustrating how it enables flexible, high‑performance business rule management.
ANTLRBackendDSL
0 likes · 26 min read

This article explains the motivation for an SQL parser in big‑data ecosystems, describes lexical, syntactic and semantic analysis, compares ANTLR and Apache Calcite as parser solutions, and provides complete code examples and deployment steps for building a functional SQL parsing engine.
ANTLRCalciteCode Example
0 likes · 19 min read

The article explains why adding a SQL parser to big‑data platforms such as Hive, Spark, Flink or Kafka simplifies development, compares ANTLR and Apache Calcite implementations, shows code examples, and concludes that Calcite’s lower learning curve and greater flexibility make it the preferred choice for production‑grade SQL layers.
ANTLRCalciteSQL Parser
0 likes · 18 min read

This article walks through the complete process of designing a simple domain‑specific expression language, defining its grammar, generating a lexer and parser with ANTLR, implementing an AST visitor in Java, and integrating the engine into a Java project.
ANTLRCompilerDSL
0 likes · 16 min read

The article demonstrates how ANTLR4 can replace manual parsing by building a four‑operation calculator and a trimmed SQL parser for Presto, showing the workflow from grammar definition to generated lexer/parser and visitor code, then applying the SQL parser to query CSV data efficiently.
ANTLRCSVJava
0 likes · 20 min read

In 2020 I joined Alibaba's ASoC program, explored Seata's Druid‑based SQL parser, replaced it with an Antlr‑generated solution, tackled spacing bugs by overriding visitTerminal, and reflected on the open‑source contribution experience that enhanced Seata's distributed‑transaction capabilities.
ANTLRJavaSQL Parser
0 likes · 8 min read

This article presents a comprehensive overview of Hive SQL lineage parsing, detailing the challenges of data provenance in large‑scale data warehouses, introducing ANTLR‑based parsing techniques, and describing a series of optimizations—including AST pruning, CTE handling, UDF registration, and metadata service integration—to improve both table‑level and column‑level lineage extraction and visualization.
ANTLRHiveSQL lineage
0 likes · 18 min read

The Omega real‑time reach system uses a custom DSL that unifies input data, standardizes CEP APIs, and leverages an Antlr V4‑based translation framework to generate Python, C++, JavaScript, and Java code for cloud, edge, and front‑end containers, cutting rule development from days to minutes.
ANTLRCEPDSL
0 likes · 9 min read


phodalNov 23, 2020 · Fundamentals
The article chronicles a multi‑year effort to build a universal language model that can convert any source programming language into any target language, detailing experiments with Go‑ANTLR, Kotlin‑ANTLR, regex‑based parsing, DSL design, and the emerging Charj language and its tooling.
ANTLRCompiler designDSL
0 likes · 11 min read

This article explains the fundamentals of SQL parsing, describing the roles of lexical analysis, syntax analysis, and visitors, and demonstrates the process with a concrete SELECT statement example, while also mentioning popular parsing libraries such as Druid and ANTLR.
ANTLRDruidParser
0 likes · 4 min read

This article explains the fundamentals of SQL parsing, compares popular parsers, details how ANTLR defines lexical and syntactic rules for SQL, and shows how Sharding‑Sphere leverages custom and ANTLR‑based parsers to extract sharding‑relevant context while balancing performance and compatibility.
ANTLRParserlexer
0 likes · 16 min read
