CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 其它 编译器/词法分析

文件名称:Compiler

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    472.16kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

编译课上做的小程序,用四种分析方法分别实现(LL1,算符优先,递归下降,简单词法分析)

完成对正则文法所描述的Pascal语言子集单词符号的词法分析程序。

<标识符>→字母︱ <标识符>字母︱ <标识符>数字

<无符号整数>→数字︱ <无符号整数>数字

<单字符分界符> →+ ︱- ︱* ︱ ︱(︱)

<双字符分界符>→<大于>=︱<小于>=︱<小于>>︱<冒号>=︱<斜竖>*

<小于>→<

<等于>→=

<大于>→>

<冒号> →:

<斜竖> →/

识别语言的保留字 :begin end if then else for do while and or not-Compiler class to do a small procedure, analytical methods were used to achieve four (LL1, operator priority, recursive descent, a simple lexical analysis) to complete the grammar is described in a subset of the Pascal language word lexical analysis program symbols. < Identifier> → letters ︱ < identifier> letters ︱ < identifier> figures < unsigned integer> → Digital ︱ < unsigned integer> figures < single character boundaries Fu> →+ ︱- ︱ ︱* ︱ (︱) < two-character boundaries Fu> → < greater than> = ︱ < less than> = ︱ < less than> > ︱ < colon> = ︱ < oblique vertical> * < less than> → < < equal> → = < greater than> →> < colon> →: < oblique vertical> →/recognition of language reserved word: begin end if then else for do while and or not
(系统自动生成,下载前可以参看下载内容)

下载文件列表

Compiler/AccidenceAnalysis/AccidenceAnalysis/AccidenceAnalysis.vcproj
Compiler/AccidenceAnalysis/AccidenceAnalysis/AccidenceAnalysis.vcproj.564F741C02D04CB.Black White Grey.user
Compiler/AccidenceAnalysis/AccidenceAnalysis/Debug/AccidenceAnalysis.exe.intermediate.manifest
Compiler/AccidenceAnalysis/AccidenceAnalysis/Debug/BuildLog.htm
Compiler/AccidenceAnalysis/AccidenceAnalysis/Debug/mt.dep
Compiler/AccidenceAnalysis/AccidenceAnalysis/Debug/Scanner.obj
Compiler/AccidenceAnalysis/AccidenceAnalysis/Debug/vc80.idb
Compiler/AccidenceAnalysis/AccidenceAnalysis/Debug
Compiler/AccidenceAnalysis/AccidenceAnalysis/Head.h
Compiler/AccidenceAnalysis/AccidenceAnalysis/output.txt
Compiler/AccidenceAnalysis/AccidenceAnalysis/Scanner.cpp
Compiler/AccidenceAnalysis/AccidenceAnalysis/test.cpp
Compiler/AccidenceAnalysis/AccidenceAnalysis
Compiler/AccidenceAnalysis/AccidenceAnalysis.ncb
Compiler/AccidenceAnalysis/AccidenceAnalysis.sln
Compiler/AccidenceAnalysis/AccidenceAnalysis.suo
Compiler/AccidenceAnalysis/debug/AccidenceAnalysis.exe
Compiler/AccidenceAnalysis/debug
Compiler/AccidenceAnalysis
Compiler/LL1/debug/LL1.exe
Compiler/LL1/debug
Compiler/LL1/LL1/Debug/BuildLog.htm
Compiler/LL1/LL1/Debug/LL1.exe.intermediate.manifest
Compiler/LL1/LL1/Debug/LL1.obj
Compiler/LL1/LL1/Debug/mt.dep
Compiler/LL1/LL1/Debug/vc80.idb
Compiler/LL1/LL1/Debug
Compiler/LL1/LL1/Head.h
Compiler/LL1/LL1/LL1.cpp
Compiler/LL1/LL1/LL1.vcproj
Compiler/LL1/LL1/LL1.vcproj.564F741C02D04CB.Black White Grey.user
Compiler/LL1/LL1/Release/BuildLog.htm
Compiler/LL1/LL1/Release/LL1.exe.intermediate.manifest
Compiler/LL1/LL1/Release/LL1.obj
Compiler/LL1/LL1/Release/mt.dep
Compiler/LL1/LL1/Release/vc80.idb
Compiler/LL1/LL1/Release
Compiler/LL1/LL1
Compiler/LL1/LL1.ncb
Compiler/LL1/LL1.sln
Compiler/LL1/LL1.suo
Compiler/LL1/release/LL1.exe
Compiler/LL1/release
Compiler/LL1
Compiler/OperationEmblemPercedence/debug/OperationEmblemPercedence.exe
Compiler/OperationEmblemPercedence/debug
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/Debug/BuildLog.htm
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/Debug/mt.dep
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/Debug/OperationEmblemPercedence.exe.intermediate.manifest
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/Debug/OperationEmblemPercedence.obj
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/Debug/vc80.idb
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/Debug
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/Head.h
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/OperationEmblemPercedence.cpp
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/OperationEmblemPercedence.vcproj
Compiler/OperationEmblemPercedence/OperationEmblemPercedence/OperationEmblemPercedence.vcproj.564F741C02D04CB.Black White Grey.user
Compiler/OperationEmblemPercedence/OperationEmblemPercedence
Compiler/OperationEmblemPercedence/OperationEmblemPercedence.ncb
Compiler/OperationEmblemPercedence/OperationEmblemPercedence.sln
Compiler/OperationEmblemPercedence/OperationEmblemPercedence.suo
Compiler/OperationEmblemPercedence
Compiler/RecursiveDescent/debug/RecursiveDescent.exe
Compiler/RecursiveDescent/debug
Compiler/RecursiveDescent/RecursiveDescent/Debug/BuildLog.htm
Compiler/RecursiveDescent/RecursiveDescent/Debug/mt.dep
Compiler/RecursiveDescent/RecursiveDescent/Debug/RecursiveDescent.exe.intermediate.manifest
Compiler/RecursiveDescent/RecursiveDescent/Debug/RecursiveDescent.obj
Compiler/RecursiveDescent/RecursiveDescent/Debug/vc80.idb
Compiler/RecursiveDescent/RecursiveDescent/Debug
Compiler/RecursiveDescent/RecursiveDescent/RecursiveDescent.cpp
Compiler/RecursiveDescent/RecursiveDescent/RecursiveDescent.vcproj
Compiler/RecursiveDescent/RecursiveDescent/RecursiveDescent.vcproj.564F741C02D04CB.Black White Grey.user
Compiler/RecursiveDescent/RecursiveDescent
Compiler/RecursiveDescent/RecursiveDescent.ncb
Compiler/RecursiveDescent/RecursiveDescent.sln
Compiler/RecursiveDescent/RecursiveDescent.suo
Compiler/RecursiveDescent
Compiler

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com