国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    97国产在线播放| 欧美一级特黄aaaaaa在线看片| 国产精品入口尤物| 亚洲a∨日韩av高清在线观看| 久久综合九色综合久99| 国产精品毛片a∨一区二区三区|国| 欧美激情视频三区| 国产乱码精品一区二区三区卡| 91精品久久久久久久久久久久久久 | 国产综合中文字幕| 国产精品久久久久7777婷婷| 国产成人精品网站| 国产欧美久久一区二区| 无码播放一区二区三区| 亚洲精品中文字幕乱码三区不卡| 久久精品aaaaaa毛片| 欧洲精品亚洲精品| 国产精品成人国产乱一区| 国产精品一区二区三区在线| 国产美女永久无遮挡| 成人久久18免费网站图片| 欧美亚洲一二三区| 精品国产乱码久久久久| 国产二区一区| 国产女主播自拍| 国产精品一区在线免费观看 | 日韩一区二区高清视频| 天天爽天天狠久久久| 日韩亚洲一区在线播放| 国产精品电影网站| 综合操久久久| 国产精品久久久久久亚洲影视 | 久久九九全国免费精品观看| 国产精品自产拍在线观看中文| 午夜视频在线瓜伦| 日本国产精品视频| 黄色激情在线视频| 亚洲精品免费在线视频| 日本精品久久久久久久久久| 麻豆精品蜜桃一区二区三区| 人偷久久久久久久偷女厕| 中文字幕剧情在线观看一区| 国产精品日韩三级| 国产精品高潮视频| 一区二区精品国产| 欧美怡红院视频一区二区三区| 中日韩在线视频| 欧美一区二区三区精美影视| 免费看a级黄色片| 久久久99爱| 久久国产精品免费视频| 日韩欧美精品在线观看视频| 福利视频一区二区三区四区| 九九九九久久久久| 久久天天狠狠| 精品国产日本| 日韩免费在线观看视频| 国产精品一区二区你懂得| 久久久噜噜噜www成人网| 国产aⅴ夜夜欢一区二区三区| 国产精品久久电影观看| 在线视频不卡一区二区三区| 日本www在线播放| 国产精品自产拍高潮在线观看| 国产色一区二区三区| 青草热久免费精品视频| 风间由美一区二区三区| 国产精品久久久久91| 热久久视久久精品18亚洲精品| 少妇高潮喷水久久久久久久久久| 一本色道久久综合亚洲二区三区| 欧美巨猛xxxx猛交黑人97人| 热re99久久精品国产66热| 精品无码久久久久久久动漫| 久久66热这里只有精品| 亚洲mm色国产网站| 粉嫩av免费一区二区三区| 欧美成人精品在线| 一区二区三区一级片| 精品一区二区日本| 久久精品国产精品亚洲| 日韩欧美一区三区| 国产精品91久久| 久久草.com| 日日骚一区二区网站| 99视频在线免费播放| 久久精品日产第一区二区三区精品版 | 国产精品久久不能| 日韩经典在线视频| 国产成人在线一区二区| 亚洲精品高清视频| 久久亚洲免费| 日韩色妇久久av| 国产高清一区二区三区| 午夜精品久久久久久久久久久久| 欧美一级视频免费看| 中文一区一区三区免费| 国产一级片91| 国产精品国产亚洲伊人久久| 国内免费精品永久在线视频 | 精品国偷自产在线视频| 日本视频久久久| 久久精品日产第一区二区三区| 国产精品视频一区二区三区四| 国产精品久久久久久久久久久久冷 | 欧美亚洲国产另类| 国产成人精品av| 青青草精品毛片| 久久精品视频免费播放| 黄色www在线观看| 精品伦精品一区二区三区视频| 亚洲精品高清国产一线久久| 不卡一卡2卡3卡4卡精品在| 亚洲精品日韩激情在线电影| 91美女福利视频高清| 亚洲va久久久噜噜噜| 91精品视频观看| 日日摸日日碰夜夜爽无码| 国产高清不卡无码视频| 欧美在线亚洲一区| 国产精品二区三区四区| 99久久久久国产精品免费| 少妇高清精品毛片在线视频 | 久久久久免费看黄a片app| 日日碰狠狠躁久久躁婷婷| 久久久久久久久国产精品| 精品欧美一区免费观看α√| 久久av红桃一区二区小说| www.com毛片| 日韩伦理一区二区三区av在线| 成人福利视频网| 亚洲一区二区三区欧美| 欧美日韩激情四射| 精品国产一区二区三区免费| 99热亚洲精品| 欧美精品一区二区三区免费播放| 黄色片一级视频| 国产精品电影观看| 成人动漫在线视频| 日韩一区二区三区资源| 国产精品久久久久久久久免费看| 日韩免费在线免费观看| 国产精品女主播| 久久亚洲一区二区| 免费不卡亚洲欧美| 亚洲精品一区二区三区av| 国产精品三级久久久久久电影| 欧美亚洲第一页| 欧美激情精品久久久久久变态| 欧美a在线视频| 久久黄色片视频| 国产一区视频观看| 日本国产中文字幕| 中文视频一区视频二区视频三区| 精品少妇一区二区三区在线| 亚洲一区二区在线| 国产精品久久久久久久久久久久久久 | 国产美女作爱全过程免费视频| 一区二区三区视频在线播放| 久久精品国产第一区二区三区最新章节 | 九九精品视频在线| 91精品国产综合久久久久久丝袜| 亚洲综合小说区| 国产精品爽黄69天堂a| 91禁国产网站| 国产乱人伦精品一区二区| 欧美精品久久久久久久免费| 日韩av第一页| 亚洲一区三区电影在线观看| 欧美成人一二三| 国产精品欧美久久久| 日韩在线观看免费| 久久精品美女| 国产av天堂无码一区二区三区| 日本高清不卡在线| 国产aaa精品| 国产精品极品尤物在线观看| 久久久久久国产精品一区| 日韩免费一区二区三区| 亚洲免费不卡| 久久久久久91香蕉国产| 久久国产精品电影| 日韩中文字幕av| 久久国产精品 国产精品| 久久男人的天堂| 69**夜色精品国产69乱| 99在线影院| 99精彩视频| 91国内揄拍国内精品对白| 91精品国产高清自在线| 97久久国产亚洲精品超碰热| 国产精品在线看| 成人免费毛片网| 99热成人精品热久久66| av网址在线观看免费| www.亚洲天堂网| 91精品成人久久| 国产成人一二三区| 色妞一区二区三区| 国产精品日韩一区二区|