日韩精品一区二区三区高清_久久国产热这里只有精品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編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

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

    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>
        国产一区在线播放| 国产欧美在线观看| 在线视频日韩| 久久成人精品一区二区三区| 欧美一区国产在线| 欧美11—12娇小xxxx| 国产麻豆一精品一av一免费| 一本到12不卡视频在线dvd| 欧美久久视频| 亚洲一区二区三区乱码aⅴ| 国产精品极品美女粉嫩高清在线| 国产欧美精品一区aⅴ影院| 国内自拍亚洲| 夜夜嗨一区二区| 国产亚洲福利社区一区| 亚洲午夜精品一区二区| 亚洲午夜久久久久久久久电影网| 亚洲精选视频在线| 亚洲欧美日韩国产中文| 久久看片网站| 国产一区av在线| 久久综合成人精品亚洲另类欧美| 久久久久国产一区二区三区四区| 性视频1819p久久| 亚洲欧美在线x视频| 久久免费一区| 欧美日韩综合不卡| 欧美一区二区三区四区在线观看地址| 欧美日韩一区二区视频在线观看| 欧美日产国产成人免费图片| 亚洲伦理一区| 奶水喷射视频一区| 国产精品一区在线播放| 性久久久久久久久| 久久九九精品99国产精品| 亚洲在线播放| 一区二区三区毛片| 一区二区亚洲精品| 欧美丰满少妇xxxbbb| 国产精品hd| 欧美日韩精品一区二区天天拍小说| 黄色影院成人| 国产日韩精品一区二区浪潮av| 久久久久一本一区二区青青蜜月| 日韩视频在线永久播放| 欧美在线观看你懂的| 亚洲欧美日韩视频一区| 亚洲欧洲精品一区二区精品久久久| 宅男噜噜噜66一区二区66| 韩日午夜在线资源一区二区| 亚洲日产国产精品| 亚洲婷婷在线| 国产视频亚洲精品| 在线日韩精品视频| 性高湖久久久久久久久| 国产一区二区三区无遮挡| 欧美视频中文字幕| 欧美视频一区二区在线观看| ●精品国产综合乱码久久久久| 亚洲美女av网站| 国产精品v片在线观看不卡| 欧美专区福利在线| 亚洲欧美在线免费| 精品二区久久| 亚洲深夜影院| 欧美视频一区二区三区| 久久久久成人精品免费播放动漫| 久久精品中文字幕免费mv| 米奇777在线欧美播放| 亚洲黄网站在线观看| 欧美日韩一区二区三区四区在线观看| 亚洲国产精品电影在线观看| 亚洲欧洲精品一区二区三区波多野1战4| 欧美国产一区在线| 在线日韩欧美视频| 欧美日产在线观看| 欧美人与性动交a欧美精品| 亚洲美洲欧洲综合国产一区| 亚洲福利小视频| 久久久在线视频| 每日更新成人在线视频| 精品动漫3d一区二区三区免费版| 香蕉免费一区二区三区在线观看| 午夜精品福利电影| 欧美成人国产| 欧美日韩一区三区四区| 一区二区高清在线观看| 欧美日本乱大交xxxxx| 午夜精品久久久久99热蜜桃导演| 欧美亚州一区二区三区| 久久久国产一区二区三区| 国产欧美精品一区二区色综合| 欧美色精品在线视频| 日韩亚洲在线观看| 久久久天天操| 国产欧美1区2区3区| 一区一区视频| 亚洲精品国产精品乱码不99| 亚洲神马久久| 欧美紧缚bdsm在线视频| 欧美日韩午夜激情| 一本色道久久综合亚洲精品小说| 欧美日韩免费高清一区色橹橹| 日韩一级网站| 欧美性色视频在线| 国产婷婷色一区二区三区四区| 久久av一区二区三区漫画| 欧美视频成人| 亚洲已满18点击进入久久| 久久激情视频免费观看| av不卡免费看| 嫩模写真一区二区三区三州| 一区二区三区在线免费视频| 亚洲精选在线观看| 国产精品精品视频| 久热精品视频| 欧美成黄导航| 国产一区导航| 欧美日韩免费看| 久久中文字幕一区二区三区| 欧美a级片网| 久久人人看视频| 国产欧美日韩一区二区三区在线| 在线电影一区| 亚洲综合国产精品| 国产精品实拍| 亚洲午夜一二三区视频| 国产一区二区精品| 欧美日韩另类字幕中文| 国内精品伊人久久久久av影院| 美女主播视频一区| 欧美激情视频一区二区三区免费| 国产区精品在线观看| 性欧美8khd高清极品| 欧美在线不卡| 亚洲三级国产| 91久久综合亚洲鲁鲁五月天| 国内精品久久久久国产盗摄免费观看完整版| 亚洲欧美国产毛片在线| 一个色综合导航| 国产午夜精品全部视频在线播放| 午夜精品久久久久| 一本色道婷婷久久欧美| 欧美日韩系列| 欧美国产精品v| 久久久久久久波多野高潮日日| 国产精品久久久一区麻豆最新章节| 国产亚洲精品美女| 国产精品麻豆成人av电影艾秋| 宅男噜噜噜66一区二区| 国产午夜精品麻豆| 欧美久久电影| 欧美成人免费在线观看| 一区二区三区av| 亚洲国产第一页| 国产精品一区二区三区四区五区| 欧美日韩亚洲另类| 久久综合精品国产一区二区三区| 影音先锋亚洲视频| 欧美三日本三级少妇三2023| 亚洲成在线观看| 国产精品jvid在线观看蜜臀| 久久亚洲欧美国产精品乐播| 国产精品久久久久免费a∨大胸|