99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務合肥法律

COMP3173代做、代寫C/C++程序設計

時間:2023-11-04  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯


COMP31**代做、代寫C/C++程序設計
Project Implementation
Phase 1 Lexical analysis
In phase 1, you need to implement a lexer for the language described in “COMP31** 23F Project Description.docx”. Your lexer consists of five source files: “func.c”, “lexer.h”, “lexer.c”,  “symbol_table.h”, and “symbol_table.c”. Detailed requirements are listed below.
“func.c” 
-It is the main entry of the entire project (all phases). 
-It opens the source program.
-The source program is passed to the main function as an argument.
-It makes calls to the function “next_token” defined in “lexer.h” and “lexer.c”.
-It maintains a symbol table defined in “symbol_table.h” and “symbol_table.c” to store all the identifiers.
-If the function “next_token” returns a token, print the token and its attribute(s) on the screen for verification purpose.
-If “next_token” returns an error flag, report the error and its location.
-After the entire process is finished, print out the symbol table.
“lexer.h” and “lexer.c” 
-You need to design and implement a DFA to complete this task.
-To implement the DFA, you must use a transition table.
-You must define the transition table in “lexer.h” in a proper way (for example, as a 2-dimensional constant array).
-It reads and cuts the source program into lexemes.
-It returns the first token which is found every time when “next_token” is called.
-It ignores spaces, indentations, line breaks, and comments.
-If the token is an identifier, insert the token into the symbol table. Each token has an attribute to record its memory location in the symbol table.
-If the token is an integer literal, the token has two attributes: type, for its data type; and value, for its value.
-If the token is none of the above, it does not have an attribute.
-If there is any lexical error, returns an error flag to the main function.
“symbol_table.h” and “symbol_table.c”
-It should be implemented as a data structure (AVL tree is recommended to search and insert symbols efficiently or you can use any data structure you want. Efficiency is not required here.);
-Each identifier has its variable name and its type. (This language has two three types of identifiers, integers natural numbers, Boolean, and functions.)
-Currently, the type of identifiers cannot be decided (it is done by semantic analysis). So, the corresponding type in the symbol table is just NULL.
-The symbol table also needs a function to print out its content.

The implementation must be done in standard C (not in Visual C). For those who do not have standard C installed on your local computer, you can try to install MinGW from https://www.mingw-w64.org/ or use online GDB at https://www.onlinegdb.com/ . TA will use make file to check your analyzer.

Example: 
In the package “Example.zip”, you will find all the source files described above. Currently, they are all empty. The main function simply prints the argument on the screen. The package also contains “make.bat”. You can open it by a txt reader. Then, you can see the compilation commands. 

After executing “make.bat” (suppose you are using Windows and have GCC installed), you will have “func.exe”, which is the compiled analyzer.

Suppose the source program that we want to analyze is “sample.txt”, we execute “func sample.txt”.

Submission requirements
Each team need to clearly indicate the contribution of each team member in a txt file. To submit your work, you need to pack all files (source code and contribution txt) in a package. Rename the package as COMP31**_23F_TeamXX, where XX is your team number. Only team leaders need to upload the package to iSpace.
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp
 

掃一掃在手機打開當前頁
  • 上一篇:代做COP5615、代寫Java,Python編程
  • 下一篇:代做comp3511、代寫Python/Java編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網(wǎng)

    關于我們 | 打賞支持 | 廣告服務 | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                成人一区在线看| 欧美精品日韩一区| 欧美日韩精品高清| 亚洲一区二区三区激情| 制服丝袜成人动漫| 国产成人久久精品77777最新版本| 亚洲精品在线观| 91在线视频官网| 婷婷六月综合网| 国产亚洲污的网站| 91久久线看在观草草青青| 日欧美一区二区| 国产精品无人区| 欧美视频第二页| 国产精品一色哟哟哟| 自拍偷拍亚洲欧美日韩| 日韩欧美国产精品一区| 成人一区二区三区视频在线观看| 樱花影视一区二区| 精品日韩一区二区三区免费视频| 国产又粗又猛又爽又黄91精品| 中文字幕的久久| 一本久久综合亚洲鲁鲁五月天| 视频一区二区三区中文字幕| 国产精品久久久久久久蜜臀| 欧美日韩国产精品自在自线| 成人自拍视频在线| 日日夜夜免费精品| 中文字幕一区二区三区乱码在线| 91精品国产色综合久久不卡蜜臀| proumb性欧美在线观看| 青青青爽久久午夜综合久久午夜| 国产精品成人在线观看| 欧美成人aa大片| 欧美日韩在线观看一区二区| 高清国产一区二区| 国产一区欧美一区| 久久av资源站| 天天操天天色综合| 亚洲香蕉伊在人在线观| 亚洲视频香蕉人妖| 国产精品丝袜一区| 国产农村妇女精品| 精品国产一二三| 欧美sm极限捆绑bd| 欧美一二区视频| 日韩一区二区三区在线视频| 欧美久久久久中文字幕| 4hu四虎永久在线影院成人| 91免费在线视频观看| 91偷拍与自偷拍精品| 91精品1区2区| 欧美日韩中文字幕精品| 欧美巨大另类极品videosbest| 欧美性受xxxx黑人xyx| 欧美三级资源在线| 91精品国产麻豆| 日韩欧美的一区| 久久在线观看免费| 欧美—级在线免费片| 在线播放/欧美激情| 欧美日韩精品免费| 日韩免费在线观看| 欧美激情一区二区三区| 亚洲素人一区二区| 亚洲国产精品一区二区尤物区| 日韩制服丝袜av| 免费在线观看视频一区| 国产精品综合二区| 91浏览器打开| 日韩免费看网站| 欧美极品美女视频| 亚洲一区日韩精品中文字幕| 免费欧美高清视频| av影院午夜一区| 91精品国产91综合久久蜜臀| 欧美精品一区二区在线播放| 中文字幕欧美日本乱码一线二线| 亚洲老司机在线| 韩国一区二区三区| 色88888久久久久久影院野外| 欧美精品久久一区| 中文字幕精品一区二区三区精品| 亚洲最新在线观看| 国产一区二区在线电影| 一本久道中文字幕精品亚洲嫩| 91精品国产综合久久精品app| 久久久久亚洲蜜桃| 亚洲午夜电影在线观看| 国产精品资源网| 成人午夜激情影院| 日韩欧美国产一区在线观看| 亚洲日本在线观看| 青青草原综合久久大伊人精品| 成人精品视频.| 91精品国产色综合久久不卡蜜臀| 国产精品午夜在线观看| 美女国产一区二区| 91久久奴性调教| 国产精品污污网站在线观看| 麻豆国产精品777777在线| 色妞www精品视频| 国产精品你懂的| 韩日欧美一区二区三区| 欧美高清性hdvideosex| 夜夜爽夜夜爽精品视频| 成人动漫一区二区三区| 亚洲精品在线一区二区| 日韩成人一级片| 欧美日韩一级黄| 亚洲三级免费观看| 成人美女视频在线观看| 国产亚洲一区二区三区| 国产一区二区视频在线| 欧美精品一区二区三区视频| 久久av中文字幕片| 日韩无一区二区| 日韩中文字幕1| 欧美片网站yy| 视频在线观看一区| 91精品欧美一区二区三区综合在| 亚洲精品国产一区二区三区四区在线| 不卡电影一区二区三区| 国产女同互慰高潮91漫画| 国产91清纯白嫩初高中在线观看 | 91网站最新网址| 18欧美亚洲精品| 99精品欧美一区二区三区综合在线| 国产亚洲一区二区在线观看| 国产成人免费xxxxxxxx| 国产无人区一区二区三区| 国产成人精品免费在线| 中文字幕日韩一区| 欧美日韩五月天| 久久精品72免费观看| 国产情人综合久久777777| 不卡的av电影在线观看| 一区二区高清免费观看影视大全| 欧美日韩在线观看一区二区| 免费观看在线综合色| 欧美精品一区二区蜜臀亚洲| 国产91精品久久久久久久网曝门 | 久久99国产乱子伦精品免费| 日韩欧美一级片| 国产成a人无v码亚洲福利| 国产精品大尺度| 欧美性三三影院| 国产一区欧美二区| 一区二区理论电影在线观看| 欧美一区二区视频在线观看2022 | 欧美私模裸体表演在线观看| 日韩电影免费在线看| 国产三级精品视频| 91久久精品午夜一区二区| 久久超碰97人人做人人爱| 中文字幕一区二区三区蜜月| 欧美一级在线视频| 91丝袜美女网| 韩国成人精品a∨在线观看| 亚洲男女一区二区三区| 日韩欧美精品在线视频| 在线看日韩精品电影| 国产一区二区伦理| 亚洲综合免费观看高清完整版| 久久久久国产成人精品亚洲午夜| 欧美日韩在线播| 国产成人精品www牛牛影视| 亚洲老妇xxxxxx| 久久久精品tv| 欧美一区二区三区不卡| 91免费国产在线观看| 国产成人一区在线| 美女视频黄频大全不卡视频在线播放| 亚洲免费在线视频一区 二区| 精品久久一区二区| 91精品国产入口在线| 91精品办公室少妇高潮对白| 成人午夜视频在线| 国产综合久久久久久久久久久久| 日韩精品电影一区亚洲| 亚洲一区二区三区四区中文字幕| 国产午夜精品在线观看| 欧美mv和日韩mv的网站| 69堂精品视频| 欧美亚洲国产一区二区三区va| av中文字幕不卡| 国产91丝袜在线播放0| 狠狠色狠狠色综合系列| 黄色日韩三级电影| 麻豆传媒一区二区三区| 裸体在线国模精品偷拍| 久久国产精品第一页| 老司机午夜精品| 国产主播一区二区三区| 国产精品123区| 成人性生交大片免费看视频在线 | 欧美色精品天天在线观看视频| av电影一区二区| 91国产免费观看| 在线观看一区二区视频|