日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

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仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        亚洲福利一区| 99爱精品视频| 欧美一区二视频在线免费观看| 国产精品午夜av在线| 亚洲第一精品夜夜躁人人躁| 久久激情婷婷| 久久黄色小说| 欧美激情免费观看| 在线免费观看日本一区| 在线看片日韩| 欧美日本在线视频| 亚洲男人第一网站| 国产午夜精品视频| 欧美国产日韩一区二区| 在线观看亚洲精品| 国外视频精品毛片| 国产亚洲va综合人人澡精品| 国产三级精品在线不卡| 亚洲乱码国产乱码精品精天堂| 国内精品写真在线观看| 欧美麻豆久久久久久中文| 最新国产成人在线观看| 久久国产主播| 久久精品成人一区二区三区蜜臀| 欧美一区二区三区四区在线| 亚洲国产视频一区| 一区二区三区日韩精品| 久久激情视频久久| 午夜精品三级视频福利| 欧美人与性动交α欧美精品济南到| 亚洲欧美日韩另类精品一区二区三区| 一区二区精品| 伊人精品久久久久7777| 国产精品第一页第二页第三页| 国产精品福利久久久| 久久野战av| 国产精品国产精品| 可以免费看不卡的av网站| 欧美日韩免费观看一区=区三区| 欧美日韩岛国| 欧美刺激午夜性久久久久久久| 久久精品五月婷婷| 亚洲一区在线观看视频| 欧美高清视频在线播放| 香蕉视频成人在线观看| 久久久国产精品一区二区中文| 日韩一级二级三级| 亚洲免费小视频| 久久久xxx| 国产精品久久久久久久9999| 91久久精品国产91久久性色tv| 亚洲婷婷综合久久一本伊一区| 美日韩精品免费| 在线欧美日韩国产| 欧美日韩国产三区| 国产日韩在线视频| 欧美激情一区二区三区蜜桃视频| 欧美不卡一区| 夜夜爽99久久国产综合精品女不卡| 在线一区二区视频| 蜜桃av久久久亚洲精品| 国产午夜精品在线| 国产精品一区亚洲| 亚洲欧洲在线看| 性色av一区二区三区红粉影视| 在线观看一区二区视频| 亚洲特色特黄| 亚洲免费成人av电影| 亚洲免费精品| 亚洲裸体俱乐部裸体舞表演av| 国产精自产拍久久久久久蜜| 免费国产自线拍一欧美视频| 久久久无码精品亚洲日韩按摩| 亚洲人成精品久久久久| 1024精品一区二区三区| 国产精品视频一二| 国产精品护士白丝一区av| 久久久精品欧美丰满| 国产一区二区av| 欧美午夜剧场| 午夜精品短视频| 国产精品国产三级国产aⅴ9色| 国产视频亚洲| 久久亚洲二区| 亚洲午夜羞羞片| 亚洲欧美国内爽妇网| 欧美日韩美女在线观看| 国产乱人伦精品一区二区| 久久精品色图| 亚洲第一中文字幕在线观看| 久久久精品免费视频| 亚洲精品影视| 久久综合久久88| 欧美激情一区二区三区在线| 亚洲午夜一区二区三区| 国产在线视频欧美| 欧美日韩人人澡狠狠躁视频| 老司机精品视频一区二区三区| 欧美无砖砖区免费| 国产精品狼人久久影院观看方式| 久久青草欧美一区二区三区| 国语对白精品一区二区| 99在线精品免费视频九九视| 欧美在线影院在线视频| 欧美日韩国产精品| 欧美日韩国产综合网| 欧美日韩天天操| 黄色日韩精品| 亚洲国产天堂网精品网站| 亚洲婷婷国产精品电影人久久| 夜夜嗨一区二区三区| 欧美日韩另类丝袜其他| 国语自产精品视频在线看8查询8| 久久亚洲不卡| 亚洲国产精品专区久久| 欧美午夜精品久久久| 欧美成人在线免费观看| 久久精品国内一区二区三区| 激情六月婷婷久久| 欧美绝品在线观看成人午夜影视| 欧美成人国产一区二区| 一区二区电影免费观看| 国产亚洲成av人在线观看导航| 欧美freesex交免费视频| 亚洲高清资源综合久久精品| 久久国产视频网| 欧美视频免费| 久久成人精品无人区| 亚洲欧洲美洲综合色网| 欧美一级电影久久| 欧美—级高清免费播放| 在线观看亚洲视频| 亚洲精品孕妇| 激情婷婷亚洲| 国产乱码精品1区2区3区| 久久aⅴ国产紧身牛仔裤| 午夜亚洲福利在线老司机| 国产精品亚洲综合色区韩国| 亚洲精品乱码久久久久久按摩观| 欧美一区二区福利在线| 国产精一区二区三区| 亚洲精选91| 国内精品国产成人| 欧美日韩一区二区免费在线观看| 国产精品视频久久一区| 在线精品视频免费观看| 国产综合av| 亚洲午夜激情| 亚洲精品一区二区三区婷婷月| 久久精品国产96久久久香蕉| 亚洲大片精品永久免费| 国产精品二区在线观看| 激情五月婷婷综合| 久久这里只有精品视频首页| 久久福利毛片| 欧美韩日一区二区三区| 欧美激情a∨在线视频播放| 最新国产拍偷乱拍精品| 伊人蜜桃色噜噜激情综合| 欧美日韩视频在线第一区| 老牛国产精品一区的观看方式| 国产一区二区三区的电影| 最新日韩欧美| 国产亚洲精品aa午夜观看|