登录
首页 » Compiler program » 一个Pascal语言分析器

一个Pascal语言分析器

于 2022-03-15 发布 文件大小:236.92 kB
0 121
下载积分: 2 下载次数: 1

代码说明:

一个Pascal语言分析器-A Pascal language analyzer

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这可是我的倾情制作,离卖弄的语法分析器,是自己写的实现程序,不使用他人的结果,直接从原始语法里进行推理计算的,而且这个使用c语言实现的,很多底层函数都是自己来写...
    这可是我的倾情制作,离卖弄的语法分析器,是自己写的实现程序,不使用他人的结果,直接从原始语法里进行推理计算的,而且这个使用c语言实现的,很多底层函数都是自己来写,像hash表里的hash函数,还有像动态自增长分配等。当然这个还很不完善,但是已经作了很多工作,差就差在没有找到理想的脚本支持语言,最后没有办法只能用函数指针的数组来进行语义调用了。-this but my DEDECATES production, from the play of parser, written in their own procedures, not to use the results of others directly from the original grammar conducted calculated reasoning, but the use of the c language, many are bottom of their function to write, like hash exterior of the hash function , as from the dynamic growth of distribution. Of course, this is far from perfect, but has made a lot of work, they just lacked the poor fail to find an ideal script language support, no way to the final only with an array of function pointers for the Semantic call.
    2022-10-31 07:10:03下载
    积分:1
  • 词法分析器:源程序的运行方式: 运行程序 输入一个已存在的文本文档的文件名。如:input.txt 如果要对整个程序进行语法分析,则按‘y’键,否则按‘n’键...
    词法分析器:源程序的运行方式: 运行程序 输入一个已存在的文本文档的文件名。如:input.txt 如果要对整个程序进行语法分析,则按‘y’键,否则按‘n’键 如果要对程序进行语法分析,则按‘y’键,否则按‘n’键 程序结束-lexical analyzer : the source of the mode of operation : the importation of operational procedures already exist in a text file in the file name. Such as : input.txt if the entire procedure syntax analysis, the provision "y" button, or by the "n" key to the procedure syntax analysis, the provision "y" button, or by the "n" key end of the program
    2022-08-11 09:13:53下载
    积分:1
  • 另一版本的词法分析器
    另一版本的词法分析器- Another edition morphology analyzer
    2022-02-25 07:18:58下载
    积分:1
  • 编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式...
    编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式-compiler theory of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
    2023-06-17 16:10:04下载
    积分:1
  • small c source code for Z80
    small c for z80 源代码-small c source code for Z80
    2022-01-21 19:42:47下载
    积分:1
  • 词法分析程序。用于词法分析器的制作与应用。
    词法分析程序。用于词法分析器的制作与应用。-lexical analysis procedure. Lexical analyzer for the production and application.
    2022-03-24 12:45:44下载
    积分: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
  • 小而快的c编译器,可以直接解释运行C语言写就的源程序。
    小而快的c编译器,可以直接解释运行C语言写就的源程序。-Small but fast c compiler can directly explain the C language to run on the source.
    2022-08-09 23:39:40下载
    积分:1
  • 正则式到有穷自动机 最近刚学了编译原理 搞出来得这个东西
    正则式到有穷自动机 最近刚学了编译原理 搞出来得这个东西-to DFA has recently compiled a study of the principles of producing more things
    2022-06-15 14:07:55下载
    积分:1
  • 一个程序,用于判定给定的文法是否为LL(1)文法。 实现了:1.文法的机内表示;2. FIRST集和FOLLOW集的计算; 3. LL(1)预测分析表的构造。...
    一个程序,用于判定给定的文法是否为LL(1)文法。 实现了:1.文法的机内表示;2. FIRST集和FOLLOW集的计算; 3. LL(1)预测分析表的构造。-a procedure for the determination of grammar to whether LL (1) grammar. Realized : 1. Grammar said the machines; 2. FIRST FOLLOW sets and set computing; 3. LL (1) Forecast and Analysis table structure.
    2022-02-02 05:12:53下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载