Tagged articles
4 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
Programmer DD
Programmer DD
Nov 2, 2021 · Fundamentals

How to Build a Simple JSON Parser in Java: A Step‑by‑Step Guide

This article walks through the design and implementation of a lightweight JSON parser in Java, covering the underlying lexical and syntax analysis, token definitions, core parsing algorithms, testing strategies, and a brief demonstration of JSON beautification, providing developers with a clear understanding of JSON processing fundamentals.

JSONJavaParser
0 likes · 18 min read
How to Build a Simple JSON Parser in Java: A Step‑by‑Step Guide
ByteFE
ByteFE
May 20, 2021 · Fundamentals

Understanding ECMAScript: Cover Grammars and Finite Lookahead

This article explains ECMAScript's cover grammars and finite lookahead mechanisms for resolving ambiguous syntax, focusing on arrow function parameter lists versus parenthesized expressions.

Arrow FunctionsECMAScriptJavaScript
0 likes · 8 min read
Understanding ECMAScript: Cover Grammars and Finite Lookahead
360 Tech Engineering
360 Tech Engineering
Jun 25, 2019 · Fundamentals

Building an LL(1) SQL Parser in Go

This tutorial explains how to implement a simple LL(1) parser in Go for SQL queries, covering lexical analysis, syntax analysis, finite‑state‑machine strategy, and testing, providing complete code snippets and practical guidance for developers interested in parser construction.

GoLL(1) parserSQL parsing
0 likes · 9 min read
Building an LL(1) SQL Parser in Go