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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          久久久久久有精品国产| 国产欧美精品| 久久精品色图| 亚洲精品资源美女情侣酒店| 国产亚洲美州欧州综合国| 欧美日韩高清在线播放| 久久久久久999| 亚洲午夜久久久| 亚洲第一精品夜夜躁人人躁| 国产精品高潮在线| 欧美理论电影在线播放| 欧美一二区视频| 亚洲综合二区| 亚洲剧情一区二区| 亚洲精美视频| 亚洲国产综合91精品麻豆| 国产日韩在线视频| 国产精品家庭影院| 欧美午夜精品理论片a级大开眼界| 久久久综合免费视频| 午夜精品久久久久99热蜜桃导演| 一区二区三区高清| 亚洲黄色大片| 亚洲国内欧美| 亚洲第一天堂av| 亚洲激情在线| 亚洲国产一区二区精品专区| 亚洲电影毛片| 91久久精品国产91久久性色| 尤物九九久久国产精品的分类| 韩国精品主播一区二区在线观看| 国产亚洲精久久久久久| 国产在线拍揄自揄视频不卡99| 国产一区二区三区久久 | 亚洲精品日日夜夜| 亚洲黄色大片| 一级成人国产| 亚洲午夜免费福利视频| 午夜免费日韩视频| 欧美一区二区三区免费看| 午夜视黄欧洲亚洲| 亚洲一区网站| 欧美永久精品| 蜜桃av一区二区三区| 久久久无码精品亚洲日韩按摩| 欧美夜福利tv在线| 久久在线播放| 羞羞色国产精品| 午夜电影亚洲| 久久精品国产亚洲高清剧情介绍| 亚洲尤物视频网| 99re热这里只有精品视频| 在线欧美日韩国产| 亚洲大片免费看| 亚洲精品美女久久7777777| 日韩性生活视频| 亚洲午夜未删减在线观看| 亚洲女人天堂av| 久久精品国产999大香线蕉| 久久久青草婷婷精品综合日韩| 欧美激情中文字幕乱码免费| 国产精品xnxxcom| 国产女同一区二区| 亚洲国产精品电影| 亚洲另类在线一区| 午夜欧美不卡精品aaaaa| 久久综合狠狠综合久久综合88| 老色批av在线精品| 欧美成ee人免费视频| 欧美性做爰毛片| 影音先锋国产精品| 日韩一区二区免费高清| 亚洲乱码精品一二三四区日韩在线| 亚洲一区二区三区在线| 欧美国产日韩一二三区| 欧美日一区二区三区在线观看国产免| 国产综合色产在线精品| 亚洲高清在线观看一区| 午夜综合激情| 欧美午夜一区二区福利视频| 国产一区二区精品| 亚洲网友自拍| 欧美国产精品劲爆| 欧美国产综合| 国产精品国产自产拍高清av| 亚洲日本成人网| 欧美一级理论性理论a| 欧美成人精品三级在线观看| 国产精品黄色在线观看| 亚洲视频一二区| 欧美手机在线视频| 亚洲成色www久久网站| 欧美与黑人午夜性猛交久久久| 国产欧美欧洲在线观看| 西西人体一区二区| 国产精品一区二区欧美| 亚洲字幕一区二区| 国产精品久久久久久久久免费樱桃| 99视频精品在线| 欧美日韩高清区| 亚洲视频国产视频| 国产精品裸体一区二区三区| 亚洲欧美另类在线| 国产欧美日韩亚洲一区二区三区| 亚洲欧美日本在线| 国产精品一区二区三区观看| 亚洲视频成人| 国产欧美日韩精品在线| 亚洲一区999| 国产精品video| 日韩视频中文| 欧美成年网站| 伊人色综合久久天天| 亚洲欧美日韩区| 欧美激情一区二区三区不卡| 极品尤物av久久免费看| 久久亚洲风情| 国内精品久久久久久 | 久久精品在线观看| 国产欧美日韩一区| 麻豆精品在线观看| 亚洲毛片av| 国产日韩欧美在线看| 免费成人av在线| 亚洲少妇一区| 国产三区精品| 新狼窝色av性久久久久久| 国内精品久久久久影院薰衣草| 久久综合狠狠综合久久激情| 亚洲人成亚洲人成在线观看| 欧美新色视频| 老司机精品久久| 日韩网站在线观看| 国产精品红桃| 美女福利精品视频| 亚洲视频在线一区| 精品电影在线观看| 欧美性视频网站| 欧美第十八页| 久久噜噜噜精品国产亚洲综合| 一本到12不卡视频在线dvd | 久久久久久久精| 中文一区字幕| 国产一区二区福利| 欧美日韩亚洲成人| 久久九九国产| 亚洲另类黄色| 国产日韩欧美一区二区| 欧美激情视频一区二区三区在线播放| 欧美一级午夜免费电影| 欧美日韩免费区域视频在线观看| 亚洲欧美电影在线观看| 亚洲国产一二三| 国产精品久久久久永久免费观看| 欧美亚洲一级片| 亚洲伦伦在线| 黄色成人av网| 国产一区二区三区在线观看视频| 欧美视频一区| 欧美视频免费看| 欧美α欧美αv大片| 久久综合色影院| 午夜精品一区二区三区四区| 一区二区三区精品在线| 亚洲精品九九| 亚洲三级影片| 亚洲国产精品成人| 国内成人在线| 国产一区高清视频| 一区二区视频欧美| 黄色成人精品网站| 在线观看成人av电影| 亚洲成人直播| 亚洲美女色禁图| 亚洲欧美国产精品va在线观看| 在线午夜精品| 亚洲欧美精品在线| 久久久久成人网| 欧美成人精品一区| 欧美日韩在线观看一区二区| 欧美视频一区二区三区四区| 国产日本精品| 影音先锋久久久| 日韩视频在线观看免费| 中文欧美字幕免费| 欧美一区成人| 免费欧美在线视频| 欧美美女福利视频| 国产精品制服诱惑| 亚洲动漫精品| 宅男噜噜噜66一区二区| 欧美伊人久久久久久午夜久久久久| 久久精品日产第一区二区| 欧美成人激情在线| 国产精品久久久久久久久免费| 国产性猛交xxxx免费看久久| 亚洲国产精品一区二区久| 亚洲婷婷在线| 欧美aⅴ99久久黑人专区| 国产精品白丝av嫩草影院|