91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

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

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編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業(yè)/產品研發(fā)/客戶要求/設計優(yōu)化
    有限元分析 CAE仿真分析服務-企業(yè)/產品研發(fā)
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区
    一二三区精品福利视频| 日本亚洲电影天堂| 国产视频一区在线观看| 欧美一区二区免费视频| 欧美mv和日韩mv国产网站| 91精品国产手机| 日韩免费观看高清完整版| 2023国产精品| 亚洲天堂久久久久久久| 337p日本欧洲亚洲大胆精品 | 一本久道久久久| 亚洲在线一区| 精品视频在线免费| 一区二区三区资源| 精品久久久久久亚洲综合网| 久久久蜜臀国产一区二区| 国产精品福利在线播放| 五月激情丁香一区二区三区| 国产成人自拍网| 日韩精品中文字幕一区| 中文字幕日韩精品一区| 裸体健美xxxx欧美裸体表演| 懂色一区二区三区免费观看| 91高清在线观看| 午夜影院久久久| 狠狠网亚洲精品| 在线精品视频免费观看| 亚洲精品网站在线观看| 夜色激情一区二区| 日韩不卡一区二区| 99久久精品99国产精品| 亚洲免费激情| 国产一区二区三区的电影 | 国内精品久久久久久久97牛牛| 亚洲一区三区电影在线观看| 日韩一区二区免费高清| 亚洲精品国产一区二区精华液| 久久国产福利国产秒拍| 伊人久久大香线蕉综合热线| 欧美mv日韩mv国产网站app| 综合激情成人伊人| 成人小视频免费在线观看| 欧美综合一区二区| 亚洲一区精品在线| 国产99久久久精品| av一区二区三区| 国产精品卡一卡二| 久久久久久久久久久久久9999| 亚洲乱码日产精品bd| 91久久黄色| 亚洲最大成人综合| 国产精品videosex极品| 欧美va亚洲va| 欧美人与禽性xxxxx杂性| 国产人久久人人人人爽| 欧美日韩在线高清| 亚洲国产高清在线| 午夜国产精品视频免费体验区| 国产三级一区二区| 国产综合第一页| 精品国产亚洲在线| 91网上在线视频| 中文字幕五月欧美| 久久网站免费| 99re成人精品视频| 国产日韩欧美不卡| 一区二区国产精品| 日本不卡一二三区黄网| 欧美在线啊v一区| 国产一区 二区 三区一级| 久久综合九色综合欧美98| 欧美理论在线| 麻豆国产一区二区| 51精品国自产在线| 一区二区日本视频| 成人av电影在线| 国产片一区二区三区| 91偷拍与自偷拍精品| 午夜成人免费电影| 久久久欧美精品sm网站| 国产综合精品一区| 蜜臀久久99精品久久久画质超高清 | 樱桃国产成人精品视频| 欧美日韩国产高清一区二区 | 亚洲欧美另类小说| 日韩欧美综合在线| 国产亚洲毛片在线| 99久久综合国产精品| 亚洲国产中文字幕| 国产喷白浆一区二区三区| 精品国产第一区二区三区观看体验| 欧美综合一区二区三区| 欧美亚洲色图校园春色| 尤物在线精品| 日韩亚洲视频在线| 性感少妇一区| 色综合久久久久综合体| 亚洲欧美日韩在线综合| 91久久一区二区| 欧美日韩在线播| 欧美高清性hdvideosex| 日韩亚洲欧美综合| 欧美激情艳妇裸体舞| 亚洲色图欧美在线| 五月婷婷另类国产| 国产精品一区二区久激情瑜伽| 高清成人在线观看| 国产在线成人| 久久亚洲欧美| 精品国产乱码久久久久久久| 中文字幕乱码亚洲精品一区| 一区二区三区色| 国产99久久久精品| 亚洲精品日本| 91精品福利在线一区二区三区| 欧美激情一区不卡| 日本女人一区二区三区| 国产盗摄一区二区三区| 韩日欧美一区| 欧美岛国在线观看| 亚洲一区二三区| 91女人视频在线观看| 91电影在线观看| 国产精品久久久99| thepron国产精品| 亚洲香蕉视频| 欧美一区二区福利视频| 最新国产成人在线观看| 懂色av一区二区三区免费看| 国产乱码精品| 一色桃子久久精品亚洲| 成人97人人超碰人人99| 欧美三区在线观看| 亚洲大片一区二区三区| 91在线国产福利| 日韩三区在线观看| 蜜桃一区二区三区在线| 在线视频精品一区| 久久久久久麻豆| 国产成人精品免费看| 欧美无砖专区一中文字| 日韩在线卡一卡二| 日韩亚洲视频| 亚洲欧洲性图库| 欧美日韩伊人| 中文字幕欧美激情| 欧美日本韩国在线| 国产欧美va欧美不卡在线| 91免费视频网| 国产性天天综合网| 亚洲欧美伊人| 国产精品美女久久久久久久久久久| www.日韩在线| 国产日韩欧美高清| 亚洲电影在线| 亚洲成人激情社区| 欧美福利视频导航| 国产一区二区三区黄视频| 欧美丰满一区二区免费视频| 国产乱码精品1区2区3区| 欧美一级黄色片| 欧美激情亚洲| 日本一区中文字幕| 欧美一区午夜视频在线观看| 欧美一区二区三区在线免费观看| 中文字幕制服丝袜一区二区三区 | 麻豆精品一区二区| 欧美成人三级在线| 欧美午夜电影在线观看| 天堂资源在线中文精品| 亚洲三级视频在线观看| 国产视频不卡| 国产91清纯白嫩初高中在线观看 | 麻豆成人久久精品二区三区红 | 欧美成人一区二区| 国内自拍视频一区二区三区 | 日韩高清不卡在线| 国产午夜亚洲精品羞羞网站| 中文日韩在线| 99re热这里只有精品免费视频| 亚洲中国最大av网站| 欧美不卡在线视频| 色偷偷久久人人79超碰人人澡| 欧美一区二区三区在线播放 | 99综合精品| 91热门视频在线观看| 免费的成人av| 亚洲地区一二三色| 国产精品久久久久久久午夜片| 欧美日韩综合在线| 亚洲欧美日韩国产综合精品二区| 成人国产亚洲欧美成人综合网| 一区二区三区四区蜜桃| 久久精品一区蜜桃臀影院| 欧美精品色一区二区三区| 一本色道久久综合亚洲精品婷婷 | www日韩大片| 久久午夜国产精品| 26uuuu精品一区二区| 欧美一级在线观看|