国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

代做 CSE 3341Core Interpreter

時間:2023-11-14  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



CSE 3341, Core Interpreter Project, Part 2 (Parser, Printer, Executor)
Due: 11:59 pm, Friday, Nov. 10, ’23; 100 points
Notes:
1. This is the second part of the Core interpreter project. In this part, you have to implement the parser,
printer, and executor. You should use the same language, Java or Python, that you used for writing
your Tokenizer.
2. If there are any special considerations for compiling and running your code, make sure you specify,
in your README file, how your code is supposed to be compiled and run.
3. Your interpreter should take two command-line arguments. The first will be the name of the file that
contains the Core program to be interpreted. The second will be the name of the file that contains the
data for the Core program. Note that this is a change from the Tokenizer project. In that project, your
Tokenizer read the input Core program from the standard input stream. But now, since there are two
input files, the names of these files will be given as command-line arguments.
4. The Core program in the first file will not contain any illegal tokens but may contain other kinds
of errors, i.e., not meeting the requirements of the BNF grammar of Core; undeclared variables;
uninitialized variables; and another kind of error described in the next item. If the Core program
violates the BNF grammar or if undeclared variables are used in the <stmt seq> portion of the
Core program, your interpreter, before execution begins, should print an appropriate error message
and stop.
5. The data in the second file will consist of a sequence of integers (positive or negative), one per line.
This data will be read when your interpreter executes the “read” statements in the Core program.
If this file is empty when the interpreter tries to execute a “read” statement, your interpreter should
terminate with a suitable error message.
6. If during execution, the interpreter tries to access the current value of an identifier which has not yet
been initialized, your interpreter should terminate with a suitable error message.
7. The output from your interpreter should go to the standard output stream.
8. If there are no errors related to the requirements of the BNF grammar and no undeclared variables
appear in the <stmt seq>, the print-procedures of your interpreter should pretty-print the Core
program and then execute the program.
9. Pretty-printing requirements: There are no specific requirements about what precisely “pretty-printing”
means. Follow your own instincts on what would make the structure of any given program easy to understand and try to implement that. The goal is to make the structure of the code clear by just looking
at the pretty-printed version. Python’s indenting style is a good model to follow. Our eyes/brain seem
naturally wired to group together lines that are aligned (vertically) with each other. So, the Python
model is a good one to follow; or come up with your own variation – as long as it makes the code
clear by looking at it. (This site seems to do a reasonably good job of describing best pravctices in
Python regarding formatting: Python best practices
1
10. During execution, if your interpreter executes an <out> statement such as “write X, Y;”, and
the values of X and Y at that point are 20 and 30, your interpreter should produce the following output:
X = 20
Y = 30
11. Important: Your code must follow the principles of encapsulation (also known as “abstraction”) that
we have talked about, rather than have the details of the representation of the abstract parse tree visible
to all parts of your interpreter. In other words, do not use the PT[] explicitly in your parse, print and
execute methods. Instead, use either the ParseTree class approach or the approach using a separate
class corresponding to each non-terminal in the grammar. If you violate this guideline, your lab will
be penalized heavily even if it is otherwise correct.
12. Zip all your files into one archive and submit to Carmen. (If Carmen doesn’t accept the Zip file,
upload to your “My Files” site on Carmen and submit from there.)
What To Submit And When: On or before 11:59 pm on the due date, you should submit, on Carmen, the
.zip file as specified above. DO NOT include object files in your .zip file. If the grader has problems with
compiling or executing your program, he will e-mail you; you must respond within 48 hours to resolve the
problem. If you do not, the grader will assume that your program does not, in fact, compile/execute properly.
The project will be graded using the project rubric on Piazza.
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代寫INFS 2042 Data Structures
  • 下一篇:代做指標定制選股公式代寫通達信山峰心理線副圖
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    97精品一区二区视频在线观看 | 国产精品乱码久久久久| 欧美激情在线有限公司| 国产剧情日韩欧美| 国产99在线|中文| 欧美大成色www永久网站婷| 毛片一区二区三区四区| 中文字幕精品一区日韩| 国产av天堂无码一区二区三区| 欧美一级成年大片在线观看| 九九久久国产精品| 国产精品a久久久久久| 国产激情999| 精品人妻少妇一区二区| 最新av网址在线观看| 色综合天天狠天天透天天伊人| 色在人av网站天堂精品| 亚洲中文字幕久久精品无码喷水| 久久久久久久久久久91| 国产午夜福利视频在线观看| 伊人色综合久久天天五月婷| 永久免费看av| 日韩一级免费在线观看| 久久99热这里只有精品国产| 中文字幕av导航| 大地资源第二页在线观看高清版| 国产精品露脸自拍| 欧美激情视频在线免费观看 欧美视频免费一| 久久成人国产精品| 亚洲乱码一区二区三区三上悠亚 | 精品视频一区在线| 日韩啊v在线| 欧美精品久久96人妻无码| 日韩中文字幕一区二区| 欧美精品午夜视频| 中文字幕第一页亚洲| 天天综合五月天| 男人天堂成人网| 97精品国产97久久久久久粉红| 久久久噜噜噜www成人网| 久久不射热爱视频精品| 日本伊人精品一区二区三区介绍| 久久久久久97| 青青在线视频观看| 日本精品久久久久久久久久| 国内偷自视频区视频综合| 91精品国产91久久久久久不卡| 国产女人18毛片水18精品| 欧美精品一区免费| 国产日韩亚洲欧美| 国产极品精品在线观看| 成人在线小视频| 国产无套粉嫩白浆内谢的出处| 91精品国产91久久久久福利| 国产精品国产一区二区| 国产精品久久精品视| 亚洲精品欧美日韩专区| 欧美国产视频在线观看| 久久人人爽国产| 欧美激情喷水视频| 激情欧美一区二区三区中文字幕| 国产激情在线观看视频| 欧美激情亚洲国产| 黄色一级视频播放| www.日韩欧美| 九九九九九九精品| 亚洲最大福利网| 免费高清一区二区三区| 久久久久久久久久久综合| 亚洲欧美日韩国产成人综合一二三区| 亚洲日本理论电影| 国产又粗又长又爽视频| 久久精品中文字幕一区| 久久伊人精品视频| 欧美精品尤物在线| 日韩中文字幕亚洲| 国产精品盗摄久久久| 日韩免费av一区二区三区| 欧美日韩一级在线| 久久国产成人精品国产成人亚洲| 亚洲国产精品日韩| 国产欧美韩国高清| 久久成人人人人精品欧| 美乳视频一区二区| 国产精品久久久久不卡| 黄色一级片播放| 国产精品视频免费观看www| 欧美成人中文字幕在线| 国模精品一区二区三区色天香| 国产精品无码人妻一区二区在线| 日韩欧美一区二区三区四区| 国产激情视频一区| 青青草成人网| zzijzzij亚洲日本成熟少妇| 青青草久久网络| 国产精品视频专区| 欧美亚洲成人网| 国产精品麻豆va在线播放| 蜜桃av久久久亚洲精品| 国产99在线播放| 91精品国产91久久久久久最新| 亚洲精蜜桃久在线| 欧美wwwxxxx| 91免费版看片| 日韩日韩日韩日韩日韩| 久久九九精品99国产精品| 国内偷自视频区视频综合| 欧美成人亚洲成人| 91精品久久久久久久久久久久久| 视频一区二区三区在线观看| 欧美性在线视频| 国产精品美女视频网站| 国产男女激情视频| 大地资源第二页在线观看高清版| 久久精品国产99精品国产亚洲性色| 欧美做受高潮1| 精品国产乱码久久久久久108| 俄罗斯精品一区二区| 日日鲁鲁鲁夜夜爽爽狠狠视频97 | 国产精品久久久久影院日本| 国产在线观看福利| 亚洲欧美日韩国产成人综合一二三区 | 久久久这里只有精品视频| 日韩国产高清一区| 国产精品三区四区| 白嫩少妇丰满一区二区 | 国产传媒久久久| 欧美激情亚洲天堂| 在线视频亚洲自拍| 日韩中文字幕视频| 高清不卡一区二区三区| 日本久久久久久久| 精品免费国产| 久久精品国产第一区二区三区最新章节 | 亚洲欧洲精品在线| 久久久91精品国产一区不卡| 国产精品一区二区三区在线观| 日本久久久久久久久久久| 美女扒开尿口让男人操亚洲视频网站| 久久亚洲精品无码va白人极品| 欧美 日韩 国产在线| 懂色av一区二区三区在线播放| 国产精品视频播放| 91免费在线视频| 男人添女人下部视频免费| 伊人婷婷久久| 国产精品免费视频xxxx| 久久久国内精品| 国产欧美精品日韩精品| 欧美在线一区二区三区四区| 在线观看亚洲视频啊啊啊啊| 久久精品国产久精国产思思| 91精品国产综合久久香蕉的用户体验 | 熟女视频一区二区三区| 欧美麻豆久久久久久中文| 久久久久久久久国产精品| 国产美女在线一区| 欧美不卡1区2区3区| 日本中文字幕一级片| 一区二区三区四区五区视频| 国产精品久久在线观看| 久久精品日韩精品| 91精品国产综合久久香蕉922| 国产一区二区色| 欧美黄色免费影院| 日韩精品―中文字幕| 亚洲高清精品中出| 国产99视频精品免视看7| 国产精品久久久久99| www.日韩免费| 日日骚久久av| 国产成人a亚洲精品| 99免费视频观看| 丰满少妇久久久| 国产日韩在线一区二区三区| 免费精品视频一区二区三区| 欧美精品一区二区性色a+v| 日本成人黄色| 日韩a在线播放| 日韩av不卡播放| 日韩av色综合| 人妻少妇精品久久| 青青草视频国产| 欧美资源在线观看| 日韩免费av在线| 日韩精品 欧美| 欧美在线国产精品| 人妻av无码专区| 欧美国产一二三区| 国产在线观看欧美| 成人综合视频在线| 91精品久久香蕉国产线看观看| 91精品91久久久久久| 91久色国产| 国产成人高清激情视频在线观看| 国产成人精品久久久| 久久久久久久爱| 国产精品美女主播在线观看纯欲| 国产精品久久..4399| 精品国产乱码久久久久久蜜柚 |