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

                懂色av中文一区二区三区| 麻豆精品国产91久久久久久 | 国产麻豆欧美日韩一区| 肉色丝袜一区二区| 亚洲一区在线观看视频| 亚洲日本va在线观看| 中文字幕一区二区三区精华液| 欧美国产日产图区| 亚洲欧美综合另类在线卡通| 欧美国产综合一区二区| 中文字幕高清不卡| 亚洲婷婷国产精品电影人久久| 国产精品久久三区| 亚洲视频在线一区| 亚洲一区视频在线| 亚洲123区在线观看| 亚洲777理论| 免费观看91视频大全| 久久精品国内一区二区三区| 紧缚捆绑精品一区二区| 粉嫩13p一区二区三区| 成人国产精品免费观看视频| 97久久精品人人做人人爽| 在线观看视频91| 日韩一级片网站| 337p日本欧洲亚洲大胆精品| 国产精品久久三| 亚洲国产精品自拍| 精品一区二区在线视频| 成人av电影在线播放| 欧美日韩在线一区二区| 精品国产亚洲一区二区三区在线观看| 国产日韩精品一区二区三区| 亚洲精品五月天| 免费高清不卡av| 福利一区福利二区| 在线播放日韩导航| 国产精品伦一区二区三级视频| 亚洲一区二区三区四区的| 久久av资源站| 色综合久久六月婷婷中文字幕| 欧美美女直播网站| 国产欧美日产一区| 日日摸夜夜添夜夜添国产精品| 国产一区在线观看视频| 欧美日韩黄色影视| 18涩涩午夜精品.www| 免费不卡在线视频| 日本韩国一区二区三区视频| 欧美大尺度电影在线| 一区二区三区四区五区视频在线观看| 精品一区二区三区在线观看| 欧美在线观看禁18| 国产精品毛片久久久久久久| 极品瑜伽女神91| 欧美日韩久久久一区| 成人免费在线观看入口| 美日韩黄色大片| 91豆麻精品91久久久久久| 国产日韩欧美一区二区三区乱码| 日韩精品视频网站| 欧美性三三影院| 亚洲欧美色综合| 国产超碰在线一区| 亚洲精品一区二区精华| 蜜臀av性久久久久蜜臀av麻豆 | 欧美成人福利视频| 亚洲一区二区三区中文字幕在线| 成人午夜在线视频| 中文字幕av一区二区三区高 | 欧美在线视频日韩| 国产精品国产成人国产三级 | 亚洲乱码中文字幕| 成人妖精视频yjsp地址| 久久久久久久久岛国免费| 日本午夜精品一区二区三区电影| 欧美性视频一区二区三区| 亚洲美女视频在线| 色综合久久88色综合天天6| 国产精品电影一区二区| 成人少妇影院yyyy| 国产精品久久久久久久久免费樱桃 | 一二三区精品福利视频| 99久久精品国产麻豆演员表| 国产精品久久毛片| 成人av网站免费| 亚洲天堂免费在线观看视频| 成人av在线播放网址| 中文字幕一区二区日韩精品绯色| 国产成人aaaa| 国产精品家庭影院| 色婷婷综合久久久中文字幕| 一区二区三区美女| 欧美日韩精品一区二区三区| 婷婷一区二区三区| 欧美一区二区三区四区视频| 蜜桃视频第一区免费观看| 26uuu另类欧美| 国产成人av福利| 亚洲欧美日韩系列| 在线电影欧美成精品| 久久国产精品免费| 国产精品视频在线看| 在线精品视频一区二区| 免费看日韩a级影片| 久久精品男人天堂av| 色婷婷精品久久二区二区蜜臀av| 亚洲一区二区偷拍精品| 精品欧美乱码久久久久久1区2区| 国产精品性做久久久久久| 综合分类小说区另类春色亚洲小说欧美| 91蝌蚪porny成人天涯| 三级影片在线观看欧美日韩一区二区| 精品少妇一区二区三区视频免付费 | 最新久久zyz资源站| 欧美日韩dvd在线观看| 韩国视频一区二区| 亚洲精品自拍动漫在线| 日韩精品一区二| 91在线观看下载| 免费观看成人av| 国产精品久久久久影视| 欧美精品九九99久久| 高清beeg欧美| 日本中文在线一区| 17c精品麻豆一区二区免费| 欧美一区二区三区白人| 91女神在线视频| 国产伦精品一区二区三区在线观看| 亚洲毛片av在线| 久久日韩粉嫩一区二区三区| 欧美影视一区在线| 成人精品视频一区二区三区尤物| 日本欧美一区二区| 一区二区高清在线| 中文字幕在线播放不卡一区| 欧美一区二区在线免费播放| 91色.com| 成人污视频在线观看| 国内偷窥港台综合视频在线播放| 亚洲一二三区视频在线观看| 日本一区二区成人| 精品久久一区二区三区| 欧美人伦禁忌dvd放荡欲情| 成人app软件下载大全免费| 久久99精品国产麻豆婷婷洗澡| 亚洲成a人片在线观看中文| 最好看的中文字幕久久| 久久久99免费| 日韩精品中午字幕| 欧美私模裸体表演在线观看| 91亚洲精华国产精华精华液| 成人免费黄色在线| 成人久久18免费网站麻豆 | 日韩欧美国产一区二区在线播放| 91在线无精精品入口| 国产成人综合亚洲网站| 美女视频网站黄色亚洲| 亚洲.国产.中文慕字在线| 亚洲欧美日韩中文字幕一区二区三区| 国产午夜精品福利| 久久精品综合网| 国产日韩欧美一区二区三区乱码 | 国产一区二区福利| 国产麻豆视频一区| 国产成人精品免费看| 国产风韵犹存在线视精品| 国产主播一区二区三区| 精品制服美女丁香| 国产最新精品免费| 豆国产96在线|亚洲| av毛片久久久久**hd| 91网址在线看| 欧美三区在线观看| 欧美一级在线观看| 欧美不卡在线视频| 国产欧美一区二区精品久导航| 欧美国产视频在线| 亚洲欧洲一区二区在线播放| 亚洲人精品一区| 午夜亚洲国产au精品一区二区| 五月婷婷色综合| 国内精品视频一区二区三区八戒| 国产成人精品综合在线观看 | 国产精品久久久爽爽爽麻豆色哟哟| 国产精品理伦片| 亚洲免费av在线| 蜜桃久久av一区| 国产伦精品一区二区三区免费| av中文字幕一区| 欧美日韩一区二区在线观看| 欧美大尺度电影在线| 国产精品污污网站在线观看| 亚洲一区免费在线观看| 日本不卡一二三区黄网| 国产91对白在线观看九色| 欧洲激情一区二区| 久久午夜电影网| 亚洲国产你懂的| 国产在线视频精品一区|