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

    合肥圖文信息
    仿真分析咨詢外包服務-結構 / 熱 / CFD流體 / 電磁 / 光學CAE代做
    仿真分析咨詢外包服務-結構 / 熱 / CFD流體
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
  • 豆包網頁版入口 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>
        国产欧美综合在线| √新版天堂资源在线资源| 亚洲黄色www| 亚洲一区在线观看免费| 久草中文在线观看| 欧美日韩国产综合久久| 久久精品99久久久久久久久| 91精品国产经典在线观看| 午夜一区二区三区视频| 国产黄色在线观看| 亚洲素人一区二区| 亚洲黄色在线观看| av免费在线不卡| 天堂在线中文| 久久久久蜜桃| 久久婷婷综合国产| 亚洲国产www| 91精品免费观看| 中文字幕 欧美日韩| 91久久精品视频| 国产不卡在线观看视频| 欧美中文字幕视频在线观看| 欧美亚洲国产免费| 国产日韩精品在线看| 欧美99久久| 99久久www免费| 国产真实乱子伦精品视频| 日韩中文在线字幕| 国产午夜精品视频免费不卡69堂| 久久久久久91| 欧美日韩精品免费看| 日本不卡一区在线| 精品国内自产拍在线视频| 一区二区三区鲁丝不卡| 国产福利不卡| 日韩中文字幕在线播放| 久久夜色精品国产欧美乱极品| 久久久精品日韩欧美| 国产欧美日韩不卡免费| 欧洲精品在线一区| 1区不卡电影| 免费国产h视频在线观看86| 国产欧美久久久精品影院| 被陌生人带去卫生间啪到腿软| 麻豆一区二区99久久久久| 亚洲福利精品| 久久久另类综合| 亚洲一区中文字幕在线观看| 国产999精品在线观看| 亚洲第一中文字幕在线观看| 在线观看区一区二| 91精品国产色综合久久久蜜香臀| 国产九九在线| 久久激情一区| 一区二区三区高清在线| 91精品国产91久久久久久青草| 国产成人精品综合网站| 欧美日韩国产一区在线| 国产在线观看黄色| 亚洲 欧美 精品| 先锋男人资源站| 一区在线视频观看| 国产日韩精品在线看| 91精品久久久久| 亚洲娇小xxxx欧美娇小| 91精品国产自产| 日韩在线视频在线观看| 91精品久久久久久蜜臀| 亚洲精华国产欧美| 人成在线免费视频| 国产一级久久久| 精品对白一区国产伦| 国产 日韩 欧美 综合| av免费观看网站| 在线欧美一级视频| 国产日韩电影| 成年人看的羞羞网站| 老司机久久99久久精品播放免费| 国产日韩三级| 日本精品福利视频| 日韩午夜黄色| 日韩精品中文字幕第1页| 久久精品卡一| 国产欧美日韩在线播放| 色www精品视频在线观看| 国产成人中文字幕| 国产在线中文字幕| 亚洲第一视频在线观看| 日韩精品大片| 日韩欧美中文在线| 国产午夜精品一区二区三区视频| 九一精品国产| 中文字幕中文字幕精品| 91精品国产欧美日韩| 日韩亚洲欧美中文高清在线| 国产一区日韩欧美| av免费在线播放| 91精品高清| 欧美日韩第一区日日骚| 91精品国产综合久久香蕉最新版| 91精品视频播放| 亚洲天堂视频一区| 中文字幕在线精品| 白嫩少妇丰满一区二区| 在线欧美日韩国产| 国产激情在线观看| 国产永久在线观看| 精品一性一色一乱农村| 黄色片免费看| 亚洲福利视频专区| 日韩1区在线| 国产丝袜欧美中文另类| 亚洲一区激情| 国产欧美日韩在线观看| 中文字幕在线观看视频www| 日本不卡视频一区| 91精品在线看V| 欧美日韩综合色| 中文字幕中文字幕精品| 久久永久免费视频| 精品日韩欧美在线| 日韩在线观看视频一区二区| 国产黄色在线播放| 欧美日韩国产系列| 中文字幕一区二区三区精品| 国产裸体歌舞团一区二区| 欧美 亚洲 精品 三区| 国产www在线观看| 日本中文字幕在线观看| 一本一道久久a久久精品综合蜜臀| 中文字幕精品在线播放| 国产男女av| 色综合久久六月婷婷中文字幕| 91蜜桃在线视频| 日韩精品在线免费观看视频| 欧美日韩精品欧美日韩精品一| 精品日韩在线| 久久精品黄色片| 欧美日韩三级视频| 日韩精品综合在线| 欧美一卡2卡3卡4卡| 日韩精品高清不卡| 欧美日韩中国免费专区在线看| 香蕉av一区| 日韩三级视频中文字幕| 999精品视频在线观看播放| 久久精品电影| 日韩不卡一二三区| 日韩av不卡在线观看| 91精品在线观看入口| 精品极品三级久久久久| 亚洲福利在线视频| 中文字幕亚洲二区| 亚洲大片精品永久免费| 国产一级久久久| 亚洲中文字幕一区| 欧美日韩综合高清一区二区| 精品国产乱码久久久久久蜜臀| 国产资源中文字幕| 视频在线一区二区| 最近高清中文在线字幕在线观看1| 国产一区在线观看视频| 日韩欧美色综合| 91精品久久久久久久久久|