登录
首页 » C# » 词法分析

词法分析

于 2023-04-22 发布 文件大小:18.18 kB
0 95
下载积分: 2 下载次数: 1

代码说明:

应用背景 设计、编制并调试一个词法分析程序,加深对词法分析原理的理解。 关键技术 算法的基本任务是从字符串表示的源程序中识别出具有独立意义的单词符号,其基本思想是根据扫描到单词符号的第一个字符的种类,拼出相应的单词符号。

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

发表评论

0 个回复

  • Othello-master
    Othello game written in c++
    2015-10-16 04:34:01下载
    积分:1
  • c#源代码集锦,比较常用的一些功能实现示例源代码!~
    c#源代码集锦,比较常用的一些功能实现示例源代码!~-Collection c# source code to compare some of the features commonly used to achieve sample source code! ~
    2022-05-23 06:00:57下载
    积分:1
  • Ratematching_byylluo
    LTE中速率匹配的代码,包括子块交织,比特搜集,比特选择和修剪(The code rate matching in LTE, including the sub-block interleaving and bit gather, bit selection and pruning)
    2011-01-23 21:35:25下载
    积分:1
  • program
    Graphics Program using c & c++ Programming
    2013-10-07 15:08:30下载
    积分:1
  • C#使用SqlDataAdapter对象的Fill方法填充DataSet
    C#使用SqlDataAdapter对象的Fill方法填充DataSet,具体是调用DataSet的Copy方法复制DataSet中的内容,完成填充的功能:   private void Form1_Load(object sender, EventArgs e)   {    //实例化SqlConnection变量conn,连接数据库    conn = new SqlConnection("server=.;database=db_14;uid=sa;pwd=");    //创建一个SqlCommand对象    SqlCommand cmd = new SqlCommand("select * from tb_test", conn);    SqlDataAdapter sda = new SqlDataAdapter();//创建一个SqlDataAdapter对象    //设置SqlDataAdapter对象的SelectCommand属性,设置执行的SQL语句    sda.SelectCommand = cmd;    ds = new DataSet(); //实例化DataSet    sda.Fill(ds, "test");//使用SqlDataAdapter对象的Fill方法填充DataSet    dataGridView1.DataSource = ds.Tables[0];//设置dataGridView1的数据源   }   private void button1_Click(object sender, EventArgs e)   {    DataSet ds1 = ds.Copy();//调用DataSet的Copy方法复制ds中的内容    dataGridView2.DataSource = ds1.Tables[0];//将ds1作为dataGridView2的数据源   }
    2022-11-04 09:50:03下载
    积分:1
  • 使用CAN读取毫米波雷达数据
    使用CAN读取毫米波雷达数据,编写语言为C(Reading millimeter wave radar data using CAN)
    2020-10-20 17:27:24下载
    积分:1
  • English-learning
    英语相关的学习方法,很好的学习资料,还有一些时间的内容。(English-related learning, good learning materials, and some time content.)
    2010-11-08 21:15:30下载
    积分:1
  • 113、程序
    说明:  113、基于51单片机老人生理智能监控GSM短信 本设计由STC89C52单片机电路+火焰传感器电路+加速度传感器+心率传感器电路+SIM800A_GSM模块电路+电源电路组成。 该系统实时监测老人是否跌倒,是否周围有火以及心率情况。 1、如果火焰传感器检测到火焰,则GSM向特定手机发送:Fire! 2、如果ADXL345检测到老人跌倒了,则GSM向特定手机发送:Fall! 3、如果心率传感器检测到老人心率高于120,则GSM向特定手机发送:High Heart! 4、注意本设计一次上电上述情况每个只能触发一次上报短信,不会连续发送,防止反复发送,请放心使用。 5、短信处理过程有GSM信号灯指示。 6、GSM模块是SIM800A,该模块和SIM900A电路程序完全兼容外观外形一模一样。(GSM SMS for elderly physiological intelligent monitoring based on 51 MCU This design consists of STC89C52 MCU circuit + flame sensor circuit + acceleration sensor + heart rate sensor circuit + sim800a_ GSM module circuit + power supply circuit. The system monitors whether the elderly fall down, whether there is fire around and heart rate in real time. 1. If the flame sensor detects a flame, the GSM sends: fire! 2. If adxl345 detects that an old man has fallen, the GSM sends a specific mobile phone: fall! 3. If the heart rate sensor detects that the heart rate of the elderly is higher than 120, the GSM sends a message to a specific mobile phone: high heart! 4. Pay attention to the design of a power on, each of the above conditions can only trigger a report SMS, will not be sent continuously, to prevent repeated sending, please rest assured to use. 5. SMS processing process is indicated by GSM signal light.)
    2020-09-02 09:14:08下载
    积分:1
  • DAC832
    dac0832用于进行数摸转换,单片机实现它的数据输入,用于函数信号发生器(dac0832 used for a few analog conversion, single-chip to achieve its data input for the function signal generator)
    2009-11-11 20:12:12下载
    积分:1
  • 51温度计,数字显示
    1、全自动检测人员靠近和测量体温,过程中无需操作本系统,仅需在PROTEUS软件中调整环境值。使用GP2D12红外测距传感器测量人员接近距离(PROTEUS软件中可点击GP2D12模块上的“ ”和“-”调整环境值),若测量距离小于等于设定距离,说明有人接近,开始测量体温。使用DS18B20传感器测量人体温度(PROTEUS软件中可点击GP2D12模块上的“ ”和“-”调整环境值),若测量的体温小于等于设定值,说明人员健康,驱动电磁锁开门。人员离开后,自动关闭电磁锁。若测量的体温大于设定值,则闪灯并响铃警报,该警报只能在状况恢复正常时点击“解除警报”按钮解除。2、点击“设置”按钮,多次点击“设置”可在距离、温度之间切换。进入设置页面,页面上方显示当前的设置参数,按数字键时下方会显示输入,按确定键确认输入,若数值正确(距离10~80,温度30~45)则完成更改。按“返回”键退出设置界面。3、点击“输入密码”按钮,输入管理员密码(“8888”,可在代码中修改),点击确认,可以立即打开门锁并不会自动关闭。点击“关门”按钮后,当人员离开门(距离大于设定值)后,门自动关闭。4、预留了串口功能,可以上位机或者别的模块通信,协同工作。
    2020-12-09下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载