Tagged articles
2 articles
Page 1 of 1
WeChatFE
WeChatFE
Dec 10, 2021 · Fundamentals

How a Simple DSL Lets Non‑Developers Build Complex Surveys

This article explains the concept of domain‑specific languages (DSLs), compares internal and external DSLs, shows how to design a survey‑specific DSL with PEG.js, and discusses when using a DSL is worthwhile versus relying on existing tools.

DSLPEG.jsdomain-specific-language
0 likes · 10 min read
How a Simple DSL Lets Non‑Developers Build Complex Surveys
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