国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    成人免费视频97| 欧在线一二三四区| 欧美一区二区三区精美影视| 国产人妻人伦精品| 国产精品视频免费观看www| 日本视频一区二区不卡| 91好吊色国产欧美日韩在线| 九色精品免费永久在线| 欧美另类一区| 日韩亚洲综合在线| 丁香五月网久久综合| 欧美在线一区二区视频| 国产一级不卡视频| 丝袜美腿精品国产二区 | 久久99导航| 免费av在线一区| 欧美日韩精品久久| 久久影院理伦片| 亚洲欧洲国产日韩精品| 国产自产在线视频| 日韩亚洲精品电影| 日本不卡视频在线播放| 91久久久一线二线三线品牌| 中文字幕日韩一区二区三区不卡| 国产一区二区三区黄| 国产精品-区区久久久狼| 日韩精品一区二区在线视频| 91精品久久久久| 欧美日韩国产第一页| 国产日韩欧美在线| 欧美麻豆久久久久久中文| 热re99久久精品国产99热| 久久久欧美精品| 欧美激情一区二区三区在线视频| 性色av香蕉一区二区| 国模精品系列视频| 日韩在线免费观看视频| 色综合视频二区偷拍在线| 波多野结衣精品久久| 国产精品极品尤物在线观看| 欧美日韩亚洲在线| 国产精品美女xx| 久久66热这里只有精品| 女同一区二区| 日韩中文字幕在线视频| 视频一区不卡| 久久综合婷婷综合| 日韩一级片播放| 久久九九视频| 亚洲 欧洲 日韩| 91精品视频专区| 色999五月色| 久久99久久久久久| 欧美日韩日本网| 国产精品久久久久影院日本| 国模精品视频一区二区| 久色乳综合思思在线视频| 国内自拍中文字幕| 国产精品久久久久久久久久久新郎| 国内精品视频在线| 最新中文字幕久久| 久久亚洲国产成人精品无码区| 日本一区二区免费高清视频| 久久久久久国产精品免费免费 | 日韩av一级大片| 国产成人精品一区二区三区福利 | 九色91在线视频| 欧美亚洲激情视频| 国产精品久久久av| 国产日韩精品在线播放| 一区二区三区精品国产| 国产成人在线精品| 欧美自拍视频在线| 久久艳片www.17c.com| 北条麻妃av高潮尖叫在线观看| 亚洲精品在线免费看| www亚洲欧美| 国产精品专区一| 日本精品一区在线观看| 国产精品久久久久久久久影视 | 超碰国产精品久久国产精品99| 亚洲色成人www永久在线观看 | 久久久久久久久久久网站| 欧美一区二区影视| 欧美日韩福利电影| 久久久中文字幕| 精品午夜一区二区| 性欧美亚洲xxxx乳在线观看 | 一区二区三区欧美在线| 国产日韩在线播放| 亚洲国产精品久久久久爰色欲| 国产成人久久777777| 97久久久免费福利网址| 欧美中日韩在线| 伊人久久大香线蕉精品| 国产v综合ⅴ日韩v欧美大片| 国产综合精品一区二区三区| 午夜啪啪免费视频| 国产精品第100页| 久久久久这里只有精品| 丰满少妇久久久| 欧美一区亚洲一区| 亚洲va久久久噜噜噜久久天堂| 久久精品这里热有精品| 国产欧美一区二区| 人体内射精一区二区三区| 亚洲一区二区三区香蕉| 国产精品高清在线观看| 久久精品日产第一区二区三区| 国产欧美日韩丝袜精品一区| 欧美综合激情| 日本欧美一二三区| 亚洲区成人777777精品| 国产精品国产三级国产aⅴ浪潮| 久久久久狠狠高潮亚洲精品| 国产精选一区二区| 免费国产一区| 青青草国产精品视频| 亚洲视频欧美在线| 久久天天躁狠狠躁夜夜躁2014| 久久久久中文字幕2018| 97精品免费视频| 国产伦精品一区二区三区四区视频| 欧美自拍视频在线| 日韩精品最新在线观看| 天堂va久久久噜噜噜久久va| 一区二区三区精品国产| 欧美日韩国产va另类| 麻豆国产精品va在线观看不卡| 久久天天躁狠狠躁夜夜躁| 久精品国产欧美| 久久精品在线免费视频| 91精品久久久久久久久中文字幕| 超碰97网站| 国产一级不卡视频| 国产在线视频一区| 在线视频福利一区| 欧美激情xxxxx| 一区二区三区电影| 永久免费看av| 中文字幕在线亚洲三区| 一区二区视频国产| 中文字幕一区二区三区四区五区六区 | 国产高清自拍一区| 91精品国产乱码久久久久久蜜臀| 国产毛片久久久久久国产毛片| 国产在线久久久| 国产日韩一区在线| 福利精品视频| 91久久久久久久久久久久久| 91精品国产99久久久久久红楼| 成人国产亚洲精品a区天堂华泰| 成人a视频在线观看| av一区二区三区四区电影| 成人亚洲欧美一区二区三区| 国产精品亚洲第一区| 97免费视频在线播放| 91精品久久久久久久久久| 国产成人精彩在线视频九色| 色偷偷88888欧美精品久久久| 久久久综合香蕉尹人综合网| 116极品美女午夜一级| 久久久一本精品99久久精品66| 久久人人爽国产| 国产av天堂无码一区二区三区| 日韩视频永久免费观看| 国产精品久久久久久久久借妻| 精品国产免费一区二区三区| 欧美激情第6页| 午夜精品久久久久久99热| 日韩高清国产一区在线观看| 欧美第一黄网| 国产精品一区二区三区成人| 国产精品999| 久久九九热免费视频| 国产精品美腿一区在线看| 欧美成人四级hd版| 亚洲一区二区久久久久久久| 日本精品久久久久久久久久| 日韩免费在线视频| 黄色污污在线观看| 国产精品亚洲美女av网站| 久久精品免费一区二区| 国产精品久久久久久久乖乖| 亚洲午夜精品一区二区| 日韩免费毛片| 国产色婷婷国产综合在线理论片a| 成人免费在线网| 久久久久久久久久久久久9999| 国产精品免费一区二区三区在线观看| 久久夜色精品亚洲噜噜国产mv| 亚洲色欲综合一区二区三区| 欧美一区国产一区| 国产精品羞羞答答| 日韩中文字幕视频在线观看| 国产aaa免费视频| 日本少妇高潮喷水视频| 蜜桃久久影院| 91麻豆精品秘密入口| 久久久久久久久亚洲|