Letter-rdp

所属分类:远程控制/远程桌面
开发工具:JavaScript
文件大小:13KB
下载次数:0
上传日期:2022-09-18 15:27:24
上 传 者sh-1993
说明:  Dmitry Soshnikov《从头开始构建解析器》中的Letter编程语言
(The Letter programming language from "Building a Parser from scratch" by Dmitry Soshnikov)

文件列表:
Letter.njsproj (1942, 2022-09-18)
Letter.sln (1093, 2022-09-18)
Parser.js (22906, 2022-09-18)
Tokenizer.js (4190, 2022-09-18)
package-lock.json (2169, 2022-09-18)
package.json (180, 2022-09-18)
test.js (1412, 2022-09-18)

# Letter This is a full implementation of the course [Building a Parser from Scratch](http://dmitrysoshnikov.com/courses/parser-from-scratch/) by Dmitry Soshnikov Parsing or syntactic analysis is one of the first stages in designing and implementing a compiler. A well-designed syntax of your programming language is a big motivation why users would prefer and choose exactly your language. Note: this is a practical class on building a manual Recursive-descent parser. Recursive descent parsers are the group of parsers which are widely used on practice in many production programming languages. In contrast with automated parsing algorithms, the manual implementation allows having full control over the parsing process, and handling complex constructs, which may not be possible in the automatic parsers. Besides, implementing a full manual parser from scratch allows understanding and seeing this process from inside, demystifying internal structures, and turning building parsers into an interesting engineering task. This is a pure practical implementation, building and learning different aspects of parsers. In this project you will learn concept of Recursive descent parsing, understand what is Tokenizer and how it cooperates with Parser module, learn what is Abstract Syntax Tree (AST), and how to have different formats of these ASTs, what is **lookahead** and the _predictive parsing_, and eventually build a parser for a full programming language, similar to **Java** or **JavaScript**. Implementing a parser would also make your practical usage of other programming languages more professional.

近期下载者

相关文件


收藏者