国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

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

時間:2023-11-04  來源:合肥網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編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    欧美一区二区三区综合| 久久精品亚洲热| 国产高清一区视频| 一区二区在线中文字幕电影视频| 欧美亚洲精品一区二区| 国产激情999| 视频一区二区三区免费观看| 99久久精品久久久久久ai换脸 | 国内成+人亚洲| 久久久久免费网| 日本天堂免费a| julia一区二区中文久久94| 九九综合九九综合| 国产偷人视频免费| 国产精品后入内射日本在线观看| 欧美日产一区二区三区在线观看| www国产精品视频| 欧美一区观看| 精品国偷自产在线视频| 欧美亚洲视频在线观看| www.美女亚洲精品| 欧美日韩二三区| 国产精品欧美日韩一区二区| 免费在线一区二区| 国产精品国产三级国产aⅴ9色| 激情小说网站亚洲综合网| 久久久精品国产一区二区| 欧洲成人免费视频| 国产精品丝袜高跟| 蜜桃成人免费视频| 精品国产无码在线| 国产麻豆乱码精品一区二区三区| 欧美情侣性视频| 成人一区二区av| 亚洲精品视频一区二区三区| 久久综合九九| 日本10禁啪啪无遮挡免费一区二区 | 欧美高清性xxxxhdvideosex| 国产精品-区区久久久狼| 国产亚洲黄色片| 亚洲午夜精品久久久中文影院av| 91国偷自产一区二区三区的观看方式| 午夜精品一区二区三区视频免费看| 国产成+人+综合+亚洲欧美丁香花 国产成+人+综合+亚洲欧洲 | 精品一区二区三区视频日产| 精品国产乱码久久久久久88av| av一区二区三区在线观看| 午夜视频在线瓜伦| 久久精品91久久香蕉加勒比| 国产原创精品| 亚洲一区二区免费在线| 久久久久久久久久久av| 国产在线一区二| 午夜精品一区二区三区在线观看| www.日韩.com| 国产欧美精品在线播放| 水蜜桃亚洲一二三四在线| 久久久国产精品免费| 草b视频在线观看| 日韩国产一区久久| 精品中文字幕视频| 久久人人看视频| 男女超爽视频免费播放| 亚洲影院色在线观看免费| 国产成人精品无码播放| 99久久自偷自偷国产精品不卡| 欧在线一二三四区| 欧美激情亚洲自拍| 日韩在线中文字| 国产美女扒开尿口久久久| 日韩女优人人人人射在线视频| 精品伦理一区二区三区| 国产成人亚洲欧美| 国产美女精品在线观看| 欧美在线视频一区二区三区| 中文字幕av久久| 国产精品免费视频一区二区| av动漫在线看| 毛葺葺老太做受视频| 日本高清久久天堂| 一本大道熟女人妻中文字幕在线| 深夜精品寂寞黄网站在线观看| 国产精品夜间视频香蕉| 欧美区高清在线| 亚洲爆乳无码专区| 国产精品大陆在线观看| 久久久久久久久久av| 91久久久久久| 国产精品专区一| 国内精久久久久久久久久人| 日韩精品一区二区三区色偷偷| 亚洲影院污污.| 久久成人在线视频| 久久久久久久久国产| 99热在线播放| 国产麻花豆剧传媒精品mv在线| 欧美精品一区二区三区在线看午夜| 五月天婷亚洲天综合网鲁鲁鲁| 欧美激情免费在线| 国产精品吊钟奶在线| 色妞一区二区三区| 国产成人亚洲欧美| 国产精品69久久久久| youjizz.com亚洲| 国产美女久久精品香蕉69| 免费观看亚洲视频| 欧美乱偷一区二区三区在线| 日本一区免费在线观看| 亚洲 日韩 国产第一| 一区二区三区四区视频在线观看| 国产精品成人aaaaa网站| 国产精品网站免费| 日韩在线播放视频| 久久久久久久久久久久av| 国产成人精彩在线视频九色| 国产精品91在线观看| 91久久偷偷做嫩草影院| av动漫免费看| 91久久久久久久久久| 91av在线国产| 国产精品999视频| 久章草在线视频| 国产精品aaa| 久久这里只有精品18| 久久久久久av无码免费网站下载| 久章草在线视频| 久久av一区二区三区漫画| 久久99九九| 日韩一区av在线| 久久色精品视频| 国产精品夫妻激情| 九九热视频这里只有精品| 中文字幕人成一区| 亚洲欧洲久久| 午夜免费在线观看精品视频| 日本在线观看a| 青青青青草视频| 欧美亚洲在线播放| 麻豆av一区二区| 国产伦精品一区二区三区在线 | 91国在线精品国内播放| 国产成人亚洲精品无码h在线| 日韩在线视频导航| 国产精品久久久久久网站| 精品中文字幕在线| 亚洲精品视频一区二区三区| 日本成熟性欧美| 欧美国产视频在线观看| 国产免费一区二区三区视频| 不卡一卡2卡3卡4卡精品在| 91久久国产婷婷一区二区| 久草精品在线播放| 国产精品乱子乱xxxx| 欧美精品久久久久a| 午夜免费福利小电影| 青青视频在线播放| 国产啪精品视频网站| 久久久一二三四| 国产精品视频一区二区三区经 | 不卡影院一区二区| 久久偷看各类wc女厕嘘嘘偷窃| 日韩亚洲第一页| 欧美成人精品一区二区| 亚洲国产精品一区二区第一页| 日本www在线播放| 国精产品99永久一区一区| 91久久精品久久国产性色也91| www.国产一区| 亚洲最大av在线| 欧美在线视频一区二区三区| 国产精品一色哟哟| 日韩中文字幕视频在线| 一区二区高清视频| 欧美亚洲一二三区| 99久久自偷自偷国产精品不卡| 久久久久久久一| 欧美激情网站在线观看| 欧洲精品久久| 91美女片黄在线观看游戏| 国产精品老牛影院在线观看| 亚洲精品一区二| 免费人成在线观看视频播放| 国产精品333| 久热精品在线视频| 奇米888一区二区三区| 成人a免费视频| 国产精品欧美一区二区| 日韩在线一级片| 国产精品一区二区三区在线播放| 久久久久中文字幕| 欧美激情一二三| 欧美日韩午夜爽爽| 久久综合久久色| 中文字幕日韩精品久久| 黄色国产精品一区二区三区| 国产成人在线精品| 欧美精品久久久久久久久久| 男人添女人下部视频免费| 久久久久久a亚洲欧洲aⅴ| 欧美精品激情在线观看|