Tagged articles
7 articles
Page 1 of 1
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
ByteFE
ByteFE
Apr 25, 2021 · Fundamentals

Understanding ECMAScript Grammar: Lexical, Syntactic, and Identifier Rules

This article examines the four ECMAScript grammars—lexical, syntactic, regular‑expression, and numeric‑string—explains how context‑free productions define tokens, shows ambiguous cases such as the '/' and '`' characters, and details why the identifier await is prohibited in async functions through static‑semantic rules.

ECMAScriptLexicalawait
0 likes · 13 min read
Understanding ECMAScript Grammar: Lexical, Syntactic, and Identifier Rules
QQ Music Frontend Team
QQ Music Frontend Team
Apr 16, 2021 · Backend Development

Build a JCE Parser with PEG.js for Node.js BFF Framework

This tutorial explains how to use PEG.js to create a JavaScript parser that converts JCE protocol definitions into Node.js syntax, covering PEG.js basics, grammar rules, recursion, struct and interface parsing, and assembling a complete JCE parser.

ASTJCENode.js
0 likes · 9 min read
Build a JCE Parser with PEG.js for Node.js BFF Framework
JD Tech Talk
JD Tech Talk
Dec 16, 2020 · Databases

Understanding SQL Parser and Its Implementation in Apache ShardingSphere

This article explains the fundamentals of SQL parsing, covering lexer and parser mechanisms, context‑free grammar concepts, LL(1) and LR(1) parsing techniques, and demonstrates how Apache ShardingSphere implements a flexible, multi‑dialect SQL parser with features such as formatting, parameterization, and extensibility.

ASTParserSQL
0 likes · 11 min read
Understanding SQL Parser and Its Implementation in Apache ShardingSphere
MaGe Linux Operations
MaGe Linux Operations
Oct 21, 2019 · Fundamentals

Explore CPython Internals: Build and Understand Python’s Core

This comprehensive guide walks you through the CPython source tree, shows how to clone, configure, and compile version 3.8.0b3 on macOS, explains the language grammar, tokenization, memory management, reference counting, and garbage collection, and provides practical code snippets for each step.

CPythonCompilationPython interpreter
0 likes · 22 min read
Explore CPython Internals: Build and Understand Python’s Core