-
伯克利的语法分析器的创建工具
伯克利的语法分析器的创建工具 -Creator for Berkeleys syntactic analysis
- 2022-07-17 20:38:19下载
- 积分:1
-
LL(1)分析 写的语法分析程序,但是不能实现消除左递归,提取公因子...
LL(1)分析 写的语法分析程序,但是不能实现消除左递归,提取公因子-LL (1) analysis of written grammar analysis program, but can not eliminate the left recursion, extracting common factor
- 2022-03-01 22:29:26下载
- 积分:1
-
一个用C编写的#解释器,封闭的过程的完整的实现…
一个用C#编写的解释器,内附完整的实现过程以及源代码。-A used C# Prepared interpreter, enclosing the complete realization of the process, as well as source code.
- 2023-08-22 08:20:03下载
- 积分:1
-
JAVA在编译原理上的应用。
JAVA在编译原理上的应用。-JAVA in translation principle application.
- 2022-11-30 11:45:04下载
- 积分:1
-
一个简单词法分析器
一个简单词法分析器- A simple morphology analyzer
- 2022-04-08 01:03:00下载
- 积分:1
-
为EBNF符号对象的完整支持;
Complete support for EBNF notation; Object-oriented parser design; C++ output; Deterministic bottom-up "shift-reduce" parsing; SLR(1), LALR(1) and LR(1) table construction methods; Automatic parse tree creation; Possibility to output parse tree in XML format; Verbose conflict diagnostics; Generation of tree traverse procedures
- 2022-01-24 16:51:06下载
- 积分:1
-
编译原理词法分析,将源文件分类存入文件,供语法分析使用...
编译原理词法分析,将源文件分类存入文件,供语法分析使用-Compiler Construction Principles lexical analysis, classification of documents into the source document for the use of grammatical analysis
- 2022-09-13 09:15:03下载
- 积分:1
-
PHP解释器
PHP解释器 -PHP interpretor
- 2022-01-21 20:54:09下载
- 积分:1
-
中山大学编译原理课程的一个实验,根据OPP(算符优先)做的一个表达式计算器。
内有实验的设计文档。
实验要求支持sin,cos,max,min,powe...
中山大学编译原理课程的一个实验,根据OPP(算符优先)做的一个表达式计算器。
内有实验的设计文档。
实验要求支持sin,cos,max,min,power,mod,boolean,?:,等运算。
这个代码可以为学习编译原理的同学参考。-Principles of Sun Yat-sen University to compile an experimental course, according to OPP (operator priority) to do an expression calculator. There are experimental design documents. Experimental requirements to support the sin, cos, max, min, power, mod, boolean,?:, Such as computing. This code can be compiled for study and reference principles classmates.
- 2023-02-13 08:30:04下载
- 积分:1
-
为了实现编译器的实用,可自由编写源代码…
为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前20个字符有效;整数用2个字节表示;长整数用4个字节表示。这样词法分析程序的主要工作为:
(1)从源程序文件中读入字符。
(2)统计行数和列数用于错误单词的定位。
(3)删除空格类字符,包括回车、制表符空格。
(4)按拼写单词,并用(种别,单词)二元式表示。
(5)根据需要是否填写标识符表供以后各阶段使用。
这里采用的编译程序的实现方法是一遍扫描,即从左到右只扫描一次源程序,也就是词法分析作为语法分析的一个子程序。故在编写词法分析程序时,用重复调用词法分析子程序取一单词的方法得到整个源程序的二元式流。
-in order to achieve the compiler practical, available free to write source code format, that his writing can be more than words, a statement can occupy multiple lines written; identifier of 20 characters effective; Integer with two byte; long integer with four byte. This lexical analysis for major work : (1) from source document read into the characters. (2) Statistics and a few mistakes out a few words for positioning. (3) delete the blank type characters, including the carriage return, tab spaces. (4) the spelling words and use (other species, words) dual ceremony. (5) whether the need for completing the table identifier subsequent stages. Here the compilers of th
- 2022-01-23 11:14:40下载
- 积分:1