日韩精品一区二区三区高清_久久国产热这里只有精品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精品国产片| 女生裸体视频一区二区三区| 亚洲午夜精品国产| 免费人成网站在线观看欧美高清| 欧美91大片| 亚洲国产高清在线| 美日韩精品免费| 伊人久久大香线蕉av超碰演员| 国产精品久久久久久亚洲调教| 欧美日韩国产91| 亚洲午夜日本在线观看| 久久综合九色欧美综合狠狠| 欧美日本一道本在线视频| 欧美精品一区二区三| 夜夜嗨一区二区三区| 国产精品自拍视频| 欧美日韩在线三级| 精品av久久久久电影| 欧美刺激午夜性久久久久久久| 久久久国产精彩视频美女艺术照福利| 欧美精品一区二区蜜臀亚洲| 国语对白精品一区二区| 国产伦精品一区二区三区视频孕妇| 欧美日韩一视频区二区| 亚洲欧洲日夜超级视频| aa级大片欧美三级| 欧美视频在线观看免费网址| 亚洲精品美女| 久久精品视频在线看| 亚洲成人在线视频播放| 欧美日韩国产大片| 欧美美女日韩| 在线播放精品| 欧美高清视频www夜色资源网| 欧美日韩久久| 久久手机精品视频| 欧美多人爱爱视频网站| 国产精品成人观看视频免费| 国产三级欧美三级| 亚洲美女精品成人在线视频| 久久人人看视频| 亚洲欧美精品| 欧美日韩国产天堂| 久久久青草婷婷精品综合日韩| 欧美在线视频全部完| 国产精品三上| 欧美精品色网| 欧美高清在线一区| 久久综合久久综合久久综合| 亚洲婷婷综合色高清在线| 在线日本成人| 国产精品一区二区久久国产| 亚洲精品国产精品国自产观看| 欧美亚洲网站| 日韩亚洲精品在线| 精品成人一区二区三区| 欧美日韩成人| 国产欧美精品国产国产专区| 欧美亚洲综合久久| 欧美精品在欧美一区二区少妇| 噜噜噜在线观看免费视频日韩| 欧美 亚欧 日韩视频在线| 国产亚洲精久久久久久| 久久久久国产免费免费| 欧美激情在线播放| 欧美视频一区二区三区在线观看| 久久久久久999| 国产精品免费一区豆花| 精品动漫3d一区二区三区| 久久精品国产清高在天天线| 国产亚洲成年网址在线观看| 先锋a资源在线看亚洲| 国产精品一二三| 欧美性开放视频| 美女在线一区二区| 亚洲日本aⅴ片在线观看香蕉| 国产精品久久久久一区二区三区| 国产精品免费一区豆花| 黄色成人av| 午夜精彩国产免费不卡不顿大片| 欧美黄色片免费观看| 国产欧美激情| 在线观看精品| 欧美亚韩一区| 久久久97精品| 亚洲第一搞黄网站| 国产午夜精品一区二区三区视频| 国产精品你懂的在线| 午夜精品视频网站| 欧美精品成人91久久久久久久| 一区二区三区精品视频在线观看| 国产精品成人免费视频| 亚洲国产婷婷综合在线精品| 狠狠干狠狠久久| 欧美国产日韩一区二区| 亚洲国产美国国产综合一区二区| 男人天堂欧美日韩| 欧美大秀在线观看| 久热成人在线视频| 亚洲一二三区精品| 国产精品免费福利| 亚洲手机成人高清视频| 久久久久久一区二区三区| 亚洲免费激情| 极品裸体白嫩激情啪啪国产精品| 国产日韩专区在线| 亚洲国产婷婷香蕉久久久久久| 久久久爽爽爽美女图片| 一二三四社区欧美黄| 欧美a级一区二区| 麻豆国产精品va在线观看不卡| 国产视频欧美| 国产农村妇女毛片精品久久麻豆| 欧美日韩国产小视频| 亚洲嫩草精品久久| 亚洲日本一区二区三区| 国产精品亚洲片夜色在线| 欧美国产先锋| 久久久免费精品视频| 影音先锋中文字幕一区二区| 日韩午夜精品| 国产一区二区三区自拍| 狠狠狠色丁香婷婷综合久久五月| 一区二区三区 在线观看视频| 国产一区免费视频| 午夜欧美电影在线观看| 日韩天堂在线观看| 最近中文字幕mv在线一区二区三区四区| 久久精品1区| 中文国产成人精品久久一| 国产精品日韩欧美| 欧美第一黄网免费网站| 国产精品99久久久久久久vr| 亚洲视频在线观看一区| 久久精品夜色噜噜亚洲a∨| 在线观看日韩专区| 久久精品国产一区二区三| 亚洲精品国产精品国自产观看| 欧美香蕉大胸在线视频观看| 99v久久综合狠狠综合久久| 香蕉久久夜色精品国产| 亚洲欧洲精品一区二区| 国产精品成人一区二区三区夜夜夜| 久久综合给合久久狠狠狠97色69| 亚洲黄色免费网站| 亚洲黄色小视频| 欧美日韩大陆在线|