
本课程采用一步一步的实用方法来设计 C++ 编译器。学生将设计词法分析器或扫描器,然后他/她将设计语法分析器或解析器,然后是语义分析器和中间代码生成。
所有这些单元都是一个接一个的编译。您还将了解令牌。它们的生成方式、类型以及创建您自己的令牌枚举列表。你还需要设计一个扫描器来扫描 C++ 文件并从中生成令牌。您将设计一个解析器来解析我们将在我们的教程中使用的 20 种不同的语言结构,并且还能够添加您自己的自定义语言句子。
本课程面向初学者、中级和高级 C++ 开发人员。希望通过项目设计提高编程技能的人,以及希望了解编译器并学习如何设计编译器的开发人员。我们会从基础的token开始,逐步发展到更复杂的主题。
本课程使用的高级编程语言是 C++ 语言。
您需要的唯一工具是一个好的 C++ 编辑器示例 VsCode、Visual Studio 等。
需要 C++ 的基本知识,我们的编译文件将是一个汇编语言代码,它将由标准 MIPS 汇编和 RISC-V 的混合组成,我将在本课程中教给你。还附上了许多课程材料,包括设计这些不同单元的完整工作编译器脚本。
Published 06/2022
Genre: eLearning | MP4 | Video: h264, 1280×720 | Audio: AAC, 48.0 KHz
Language: English | Size: 2.07 GB | Duration: 27 lectures • 4h 49m
Design of a C++ compiler
What you’ll learn
the student will learn what are tokens, and the different kinds of tokens. the student will also generate his/her own token enum list.
the student will design a scanner which will a c++ plus plus, checking for error and matching tokens, you will learn how to open a c++ plus and copy its content
The student will learn about the parser and create his/her own parser which will pass 20 different kinds of language sentence we will use.
you will learn and design the semantic analysis , how our programmind learn sentence are structured and also code generation. How compiled codes are
Requirements
beginner to intermediate knowledge of the C++ or C language.
Description
This course takes a step-by-step practical approach to the design of a C++ compiler. The student will design the lexical analyzer or scanner, after which he/she will design the syntax analyzer or parser, then semantic analyzer and the intermediate code generation.
All these units are compiled one after another. You will also learn about tokens. How they are generated , types and also create your own token enum list. You also be to design a scanner which scans a C++ file and generate tokens from them. You will design a parser that parses 20 different language constructs we will use in our tutorial and also be able to add your own custom language sentence.
This course is for beginners, intermediate and advanced C++ developers. who want to advance their programming skill through a project design and for developers who want to learn about compilers and also learn how to design them. we would start from the basic tokens and develop into the more complex subject in a step by step manner.
The high level programming language used in this course is the C++ language.
The only tool you will need is a good C++ editor example VsCode, Visual studio etc..
Basic knowledge of C++ is required, our compiled file will be an assembly language code which will consist of a mix of the standard MIPS assembly and RISC-V which i will teach you in this course. A lot of course material including the full working compiler script which designs these different units is also attached.
Who this course is for
C++ and C language developers
原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/34625.html