Tagged articles
14 articles
Page 1 of 1
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.

ANTLRSyntax Analysiscompiler
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.

ANTLRCalciteSQL Parser
0 likes · 18 min read
SQL Parser Selection and Implementation: ANTLR vs Apache Calcite for Big Data Applications
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.

ANTLRDSLExpression Language
0 likes · 16 min read
How to Build Your Own Expression Language with ANTLR and Java
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.

ANTLRData WarehouseHive
0 likes · 18 min read
Optimizing Hive SQL Lineage Parsing: Techniques, Implementation, and Practical Insights
phodal
phodal
Nov 23, 2020 · Fundamentals

Can a Universal Language Model Translate Any Code to Any Other Language?

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
Can a Universal Language Model Translate Any Code to Any Other Language?