Tag

ANTLR

0 views collected around this technical thread.

DeWu Technology
DeWu Technology
Mar 5, 2025 · Big Data

Using ANTLR4 for SQL Parsing, Completion, and Validation in SparkSQL-based Data IDE

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.

ANTLRBig DataParsing
0 likes · 24 min read
Using ANTLR4 for SQL Parsing, Completion, and Validation in SparkSQL-based Data IDE
JD Tech Talk
JD Tech Talk
Jan 3, 2025 · Fundamentals

Understanding Compiler Front‑End: Lexical, Syntax, and Semantic Analysis with Antlr

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.

ANTLRCompilerlexical analysis
0 likes · 11 min read
Understanding Compiler Front‑End: Lexical, Syntax, and Semantic Analysis with Antlr
JD Tech
JD Tech
Dec 14, 2022 · Backend Development

ZCube Rule Engine: Modeling, Execution, and Practical Integration

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
ZCube Rule Engine: Modeling, Execution, and Practical Integration
vivo Internet Technology
vivo Internet Technology
Oct 19, 2022 · Big Data

SQL Parser Selection and Implementation: ANTLR vs Apache Calcite for Big Data Applications

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.

ANTLRBig DataCalcite
0 likes · 18 min read
SQL Parser Selection and Implementation: ANTLR vs Apache Calcite for Big Data Applications
vivo Internet Technology
vivo Internet Technology
May 31, 2022 · Databases

Exploring Presto SQL Engine (3) - Implementing WHERE Condition Filtering with Antlr and Dynamic Code Generation

The third article in the Presto SQL Engine series demonstrates how to implement WHERE‑clause filtering with Antlr, contrasting a direct AST‑traversal visitor approach—hampered by branch prediction and JVM inlining issues—with runtime bytecode generation using airlift.bytecode, which yields roughly three‑fold speed gains but adds complexity.

ANTLRAirlift BytecodeBytecode Generation
0 likes · 24 min read
Exploring Presto SQL Engine (3) - Implementing WHERE Condition Filtering with Antlr and Dynamic Code Generation
Yuewen Technology
Yuewen Technology
Sep 10, 2021 · Fundamentals

How to Build Your Own Expression Language with ANTLR and Java

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
How to Build Your Own Expression Language with ANTLR and Java
vivo Internet Technology
vivo Internet Technology
Aug 4, 2021 · Big Data

Applying ANTLR4 for Arithmetic Calculator and SQL Parsing over CSV Data

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.

ANTLRBig DataCSV
0 likes · 20 min read
Applying ANTLR4 for Arithmetic Calculator and SQL Parsing over CSV Data
Sohu Tech Products
Sohu Tech Products
Dec 2, 2020 · Big Data

Optimizing Hive SQL Lineage Parsing: Techniques, Implementation, and Practical Insights

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.

ANTLRBig DataData Warehouse
0 likes · 18 min read
Optimizing Hive SQL Lineage Parsing: Techniques, Implementation, and Practical Insights
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 28, 2020 · Databases

Understanding SQL Parsing: Lexical Analysis, Syntax Analysis, and Practical Example

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.

ANTLRDruidLexer
0 likes · 4 min read
Understanding SQL Parsing: Lexical Analysis, Syntax Analysis, and Practical Example