对任意给定的文法G 构造LR(1) 项目集规范族,其中要实现CLOSURE(I)、GO(I,X)、FIRST 集合等。在此基础上, 构造了LR(1)分析表。然后对输入的句子进行语法分析,给出接受或出错报告。 程序采用文件输入输出方式。其中包括两个输入文件:文法grammar.txt,以及 输入串input.txt;两个输出文件:项目集items.txt 和文法的LR(1)分析表 action_table.txt。由于语法分析的结果只给出接受或错误报告,比较简
上传时间: 2016-07-30
上传用户:来茴
基于S3C2440的四线电阻式触摸屏驱动程序,linux2.6.22内核。把touchscreen.c放在driver/input/touchscreen/下。修改arch/arm/mach-s3c2440/mach-smdk2440.c以及相应的Makefile加上驱动即可。
上传时间: 2014-01-14
上传用户:zmy123
This is the source for a C compiler that generates 386 or m68K code. Code generation is fairly good although the optimizer is a little naive... the code itself should be highly portable although there are some issues involved with porting from MSDOS that have to be resolved for example the size of LONG on unix machines is so big some of the code generated gets messed up. Code generation requires TASM to assemble the compiler output you can use the borland TLINK to produce executables, or the Watcom WLINK can also be used. PMODE systems written by TRAN are used for the DPMI interface.
标签: generation generates compiler fairly
上传时间: 2016-08-01
上传用户:sxdtlqqjl
-- DESCRIPTION : Shift register -- Type : univ -- Width : 4 -- Shift direction: right/left (right active high) -- -- CLK active : high -- CLR active : high -- CLR type : synchronous -- SET active : high -- SET type : synchronous -- LOAD active : high -- CE active : high -- SERIAL input : SI
标签: Shift right DESCRIPTION direction
上传时间: 2013-12-02
上传用户:gxrui1991
Flash中内置了一个状态寄存器(Status Register,SR)来指示Flash的当前工作状态和各种操作是否成功。要读取SR的当前值需要向CUI发送读状态寄存器命令(Read Status Register),命令码为0x70,SR中的内容将在DQ[7:0]上输出。The Read Status Register (0x70)command causes subsequent reads to output data from the SR until another command is issued. The SR bits are output on DQ[7:0].
上传时间: 2016-08-12
上传用户:thesk123
可编程并行接口8255A完成的交通灯实验 用8255A的B端口和C端口控制12个LED的亮和灭(输出为0则亮,输出为1则灭),模拟十字路口的交通灯。 -programmable parallel interface 8255A completed, the traffic lights experimental 8255A port B and C - I control 12 LED bright and methomyl (output of 0-liang, the output of an anti), the simulation of traffic lights at a crossroads.
上传时间: 2016-08-13
上传用户:来茴
This article introduces how to construct a Hospital Ward Information System with three-tiered technology. The System applies to UML, BDE, MIDAS, distributed compute theory and a special architecture to make such functions: patients check in and check out, prescription input, drug-delivery at center pharmacy and information of patient manage with computer networking.
标签: three-tiered Information introduces construct
上传时间: 2016-08-16
上传用户:hn891122
最小权定点覆盖问题的C++代码,使用时注意需要定义input.txt文件。ACM适用
上传时间: 2016-09-02
上传用户:Ants
winavr code for avr mega8. The program get data from serial port in interrupt function. And then out put the data to 74ls595 (serial to parallel IC) for controlling relay output.
标签: interrupt function program winavr
上传时间: 2013-12-22
上传用户:cjl42111
FCP takes a file, generates a random 2048 bit key and encrypts the file with a RC4 stream cipher. The encrypted file is written to a new file along with the decryption stub and key. When the output file is executed it decrypts and executes the encrypted file. It s written in Delphi 6, enjoy the source code.
标签: file generates encrypts cipher
上传时间: 2013-12-08
上传用户:爺的气质