|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/step-by-step-practical-approach-to-design-of-a-c-plus-plus-compiler/
课程评论:没有评论
课程名称:从零开始的C/C++编译器设计 课程概述:该课程采用循序渐进的实践方法设计C++编译器。学生将首先学习如何设计词法分析器(扫描器),接着是语法分析器(解析器),然后是语义分析器和中间代码生成。这四个主要单元将依次进行编写。课程还将让学生了解什么是标记(tokens),它们是如何生成的以及在编译器设计中的用途。学生将设计一个解析器,可以解析超过20种不同语言结构,并能够使用C++或其他语言自定义编写自己的语言句子进行编译设计。课程中的知识与技术将用于设计一个多线程的HTTPweb服务器。本课程适合所有级别的C++开发者,尤其是那些希望通过项目设计提升编程技能,以及想要学习编译器及其设计的开发者。课程从基本的标记开始,逐步发展到更复杂的编译器设计。本课程使用的高级编程语言是C++,所需的工具是一个优秀的C++编辑器,如VsCode、Visual Studio等。学员需具备基本的C++知识,最终生成的文件将是混合了标准MIPS汇编语言和RISC-V的汇编语言代码,课程中会深入讲解相关内容。课程资料包括完整的工作编译器脚本,该脚本设计了不同的单元,供学员参考。
The course takes a step-by-step practical approach to the design of a C++ compiler. The student starts with learning how to design the lexical analyzer or scanner, followed by the syntax analyzer or parser, then semantic analyzer and the intermediate code generation.These make up the four major units of the course.All these units are compiled one after another.The course will also provide a grasps of what tokens are, how they are generated and what they are used for in compiler designs.. You will design a parser that parses chunks of more than 20 different language constructs we will use in the lesson and also be able to add your own custom language sentence in your own compiler design using c++ or any language of your choice.The lessons and technique gotten from the course was used in the design of a multi-threaded HTTP web server.This course is for all levels of 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 compiler design 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 you will learn in this course. A lot of course material including the full working compiler script which designs these different units is also attached.