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;">

                午夜精品福利久久久| 美女网站色91| 香蕉成人啪国产精品视频综合网 | 国产无遮挡一区二区三区毛片日本| 日韩精品亚洲一区| 久久一日本道色综合| 91免费看`日韩一区二区| 亚洲精品乱码久久久久久| 欧美日韩视频专区在线播放| 免费不卡在线观看| 欧美高清在线精品一区| 欧美在线免费播放| 久99久精品视频免费观看| 日本一区二区免费在线| 在线观看亚洲精品视频| 蜜桃久久精品一区二区| 国产精品欧美久久久久无广告| 色婷婷久久综合| 免费国产亚洲视频| 亚洲精品福利视频网站| 精品三级av在线| 色视频欧美一区二区三区| 亚洲444eee在线观看| 国产欧美一区二区三区在线看蜜臀| 色婷婷av一区二区三区大白胸| 蜜臀av一区二区在线免费观看 | 亚洲精品国产品国语在线app| 欧美系列在线观看| 久久精品国内一区二区三区| 欧美成人女星排行榜| 色激情天天射综合网| 精品在线免费视频| 亚洲va韩国va欧美va| 亚洲欧洲99久久| 国产欧美中文在线| 国产婷婷色一区二区三区| 欧美色图第一页| av亚洲精华国产精华| 国产精品1024| 国内一区二区视频| 免费人成在线不卡| 亚洲第一av色| 午夜亚洲福利老司机| 亚洲午夜精品17c| 亚洲综合色区另类av| 亚洲视频一区二区免费在线观看| 国产日韩精品久久久| 欧美电视剧在线观看完整版| 4438x成人网最大色成网站| 欧美视频在线一区| 欧美性极品少妇| 欧美日韩一区中文字幕| 在线看不卡av| 欧美色视频一区| 欧美影视一区二区三区| 在线免费观看日本欧美| 欧美在线不卡一区| 8v天堂国产在线一区二区| 欧美日韩国产色站一区二区三区| 91丨porny丨国产入口| 日本精品免费观看高清观看| 色综合久久中文字幕综合网| 色婷婷亚洲精品| 欧美另类高清zo欧美| 欧美日韩国产大片| 日韩女优电影在线观看| 日韩一级精品视频在线观看| 精品国产髙清在线看国产毛片| 91精品国产综合久久久久久| 精品日韩在线一区| 国产精品久久久久毛片软件| 亚洲色图清纯唯美| 日本特黄久久久高潮| 樱桃视频在线观看一区| 91久久国产综合久久| 欧美亚洲图片小说| 91麻豆精品91久久久久久清纯| 欧美视频在线一区| 日韩女优电影在线观看| 久久影音资源网| 亚洲精品免费在线观看| 亚洲国产日日夜夜| 久久超碰97中文字幕| 91最新地址在线播放| 欧美日韩国产精品自在自线| 日韩一区二区精品| 国产精品久久一级| 日本中文一区二区三区| hitomi一区二区三区精品| 91精品婷婷国产综合久久性色 | 波多野洁衣一区| 欧洲av一区二区嗯嗯嗯啊| 欧美久久一二区| 91精品国产综合久久蜜臀| 国产精品美女久久久久久久久| 亚洲成人动漫在线免费观看| 国内精品嫩模私拍在线| 91成人国产精品| 精品国产3级a| 亚洲成人av一区| 成人的网站免费观看| 日韩三级.com| 亚洲一级在线观看| 成人网在线播放| 3d动漫精品啪啪一区二区竹菊| 国产欧美中文在线| 国产一区二区在线电影| 91精品国产一区二区三区香蕉| 欧美激情一区二区在线| 欧美aaaaa成人免费观看视频| 99久久精品国产导航| www国产精品av| 三级精品在线观看| 欧美日韩一区二区不卡| 一区二区三区不卡视频在线观看| 国产成人aaa| 2020国产精品| 国产乱码精品1区2区3区| 欧美zozo另类异族| 老司机午夜精品99久久| 欧美一级高清大全免费观看| 亚洲成人av一区二区三区| 色综合久久88色综合天天6| 国产精品国产三级国产aⅴ入口| 国产一区二区三区免费看 | 亚洲天堂免费看| 国产成人亚洲综合a∨猫咪| 91精品国产色综合久久| 日本大胆欧美人术艺术动态| 欧美日韩国产美| 石原莉奈在线亚洲三区| 3d成人h动漫网站入口| 亚洲福中文字幕伊人影院| 欧美影视一区二区三区| 亚洲一区二区精品3399| 在线91免费看| 精品在线一区二区三区| 国产精品乱人伦| 欧美色成人综合| 日韩av一级片| 精品粉嫩超白一线天av| 国产成人综合亚洲网站| 国产精品久久久久一区二区三区| 风间由美一区二区av101| 中文字幕一区二区三| 日本电影欧美片| 日韩电影网1区2区| 久久色成人在线| 99精品视频一区二区| 亚洲人xxxx| 国产精品福利一区| 91免费视频大全| 午夜久久福利影院| 精品国产一区二区三区四区四| 精品一区二区三区免费观看| 国产精品卡一卡二| 日本高清不卡视频| 久久国产精品72免费观看| 久久精品一区二区三区不卡牛牛 | 欧美日韩视频在线第一区| 美女国产一区二区三区| 国产精品美女一区二区三区| 欧美日韩精品一区视频| 久久成人免费电影| 亚洲精品日日夜夜| 久久久无码精品亚洲日韩按摩| 91丨九色丨黑人外教| 狠狠色综合播放一区二区| 亚洲欧美成aⅴ人在线观看| 日韩精品中午字幕| 色综合天天综合网天天狠天天| 乱一区二区av| 亚洲美女屁股眼交| 久久美女艺术照精彩视频福利播放| 日本精品一区二区三区高清| 国产精品自在欧美一区| 亚洲成人黄色影院| 亚洲伦理在线精品| 久久亚洲私人国产精品va媚药| 欧美在线观看18| 一本久久a久久精品亚洲| 风间由美性色一区二区三区| 免费在线一区观看| 亚洲图片一区二区| 国产精品欧美经典| 国产欧美精品一区二区三区四区| 欧美一二三区在线| 欧美日本国产一区| 欧美日韩一卡二卡| 欧美性生活久久| 在线观看成人免费视频| 91免费视频网址| 91小视频在线观看| 波波电影院一区二区三区| 成人免费看视频| 99久久精品免费| 在线一区二区三区四区五区| 色综合久久久久| 欧美丝袜丝交足nylons图片| 欧美视频精品在线观看|