▍1. SNLC
本程序是使用C语言实现SLN语言的编译器功能,包括词法分析,语法分析,语义分析以及优化生成功能。(SLN language compiler features implemented in C)
本程序是使用C语言实现SLN语言的编译器功能,包括词法分析,语法分析,语义分析以及优化生成功能。(SLN language compiler features implemented in C)
词法分析器又称扫描器。词法分析是指将我们编写的文本代码流解析为一个一个的记号,分析得到的记号以供后续语法分析使用。词法分析器的工作是低级别的分析:将字符或者字符序列转化成记号。(Lexical analyzer, also known as scanners. Lexical analysis refers to the text of the code we write flow analysis for a token one, analyze the resulting syntax notation for subsequent analysis. Lexical analyzer' s job is low-level analysis: the character or sequence of characters converted into tokens.)
词法分析程序:通过有穷自动机实现给定程序的词法分析。(failed to translate)
PL0词法分析,有源代码和word说明。源代码较为详细,注释较多!(PL0 lexical analysis, source code and the word description. More detailed source code, comments, more!)