国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    91精品国产91久久久久麻豆 主演 91精品国产91久久久久青草 | 欧美最猛性xxxxx亚洲精品| 国产日韩一区在线| 国产成人精品网站| 日本一区二区视频| 91精品国产沙发| 伊人久久青草| 国产伦精品一区二区三区精品视频| …久久精品99久久香蕉国产| 国产卡一卡二在线| 国产99视频在线观看| 国产精品国产亚洲精品看不卡15| 日本一区二区在线视频| 91精品久久久久久久久久久 | 国产精品久久激情| 欧美精品123| 久久精品国产清自在天天线| 欧美亚洲精品一区二区| 国产ts一区二区| 岛国视频一区免费观看| 久久综合精品一区| 日韩不卡一二区| 久久久久久久999精品视频| 日韩精品视频久久| 久久精品国亚洲| 欧美日韩精品在线一区二区 | 亚洲精品在线免费| 97久久精品午夜一区二区| 亚洲一卡二卡区| 91精品国产一区二区三区动漫| 午夜啪啪福利视频| 久久久成人精品一区二区三区| 日本免费在线精品| 久久久久久久免费视频| 欧美做暖暖视频| 国产精品免费一区二区| 国产日韩一区二区三区| 欧美激情精品久久久久| 91精品久久久久久久久久入口 | 久久久久综合一区二区三区| 欧美在线不卡区| 国产精品美女久久久久av福利| 国产在线视频一区| 亚洲中文字幕无码一区二区三区 | 国产乱码精品一区二区三区卡| 亚洲中文字幕无码不卡电影| 7777免费精品视频| 秋霞久久久久久一区二区| 国产精品美女久久久免费| 国产精品亚洲天堂| 三年中国中文在线观看免费播放| 色婷婷综合久久久久| 精品视频免费在线播放| 亚洲精品国产一区| xxxx性欧美| 国产伦精品一区二区三区视频孕妇| 亚洲v日韩v欧美v综合| 久久久成人的性感天堂| 国产日产久久高清欧美一区| 亚洲 自拍 另类小说综合图区| 久久福利电影| 国产区一区二区三区| 欧美一级片久久久久久久| 国产精品无码专区在线观看| 国产欧美日韩91| 日本欧美色综合网站免费| 国产精品国产一区二区| 99精品国产一区二区| 欧美专区第一页| 欧美激情一区二区久久久| 久久综合久久色| 欧美日韩亚洲在线| 自拍日韩亚洲一区在线| 国产l精品国产亚洲区久久| 国内精久久久久久久久久人| 亚洲伊人婷婷| 国产精品三区www17con| 97国产在线视频| 免费毛片一区二区三区久久久| 亚洲国产欧洲综合997久久| 国产精品美女黄网| 国产不卡av在线| 成人国产精品久久久| 欧美精品久久久久久久免费| 亚洲精品天堂成人片av在线播放| 国产精品免费一区二区三区观看 | 亚洲区一区二区三区| 国产精品日韩精品| 97精品一区二区视频在线观看| 麻豆91蜜桃| 欧美午夜欧美| 日本一区二区在线免费播放| 伊人久久在线观看| 国产精品美女久久久久久免费| 久久频这里精品99香蕉| 国产欧美精品在线| 男女视频网站在线观看| 午夜欧美大片免费观看| 久久国产精品久久久| 国产精品网站免费| 日韩有码在线视频| 国产高清精品一区| 91精品国产电影| 99在线观看| 福利在线一区二区| 国产热re99久久6国产精品| 黄色大片中文字幕| 欧美深夜福利视频| 欧美亚洲一二三区| 欧美在线一级视频| 日本精品一区二区三区高清 久久 日本精品一区二区三区视频 | 亚洲一区二区三区四区中文| 美日韩精品免费视频| 精品视频在线观看一区| 欧美一乱一性一交一视频| 日韩精品福利视频| 蜜桃视频日韩| 成人黄色一区二区| 精品视频9999| 久久天堂国产精品| 久久人人爽国产| 国产成人综合亚洲| 国产高清精品一区| 国产福利一区视频| 国产成人精品视| 91高跟黑色丝袜呻吟在线观看| www.日本少妇| 成人免费午夜电影| 91精品国产91久久久久| 国产精品99久久久久久久久 | 国产无套内射久久久国产| 国产无套内射久久久国产| 国产色婷婷国产综合在线理论片a| 欧美第一黄网| 国模视频一区二区| 美日韩精品免费| 国产精品一区电影| 99热一区二区三区| 99久久国产综合精品五月天喷水| 成人免费福利在线| 97成人在线观看视频| 久久人人爽爽人人爽人人片av| 久久资源亚洲| 久久99蜜桃综合影院免费观看| 丝袜一区二区三区| 国产精品久久精品视| 欧美激情一级欧美精品| 亚洲黄色成人久久久| 日韩中文字幕二区| 欧美日本韩国一区二区三区| 韩国精品一区二区三区六区色诱| 国产女主播av| 91观看网站| 久久久久中文字幕| 不卡av电影院| 亚洲视频在线二区| 日韩精品一区二区三区四 | 久久亚洲一区二区三区四区五区高| 操日韩av在线电影| 一区二区三区在线观看www| 亚洲精品中文综合第一页| 日韩精品―中文字幕| 国产综合欧美在线看| 91精品中国老女人| 久久久久久久一区二区| 欧美精品在线网站| 视频一区不卡| 国产中文字幕二区| 国产精品99久久久久久人 | 国产一区二区中文字幕免费看| 国产乱子伦精品无码专区| 久久久免费观看| 国产精品日韩欧美一区二区| 中文字幕中文字幕在线中心一区| 日本国产高清不卡| 国产日韩欧美日韩| 国产高清精品一区| 久久亚洲春色中文字幕| 天天操天天干天天玩| 免费av在线一区二区| 131美女爱做视频| 色视频一区二区三区| 国产中文字幕免费观看| 日韩视频永久免费观看| 日本香蕉视频在线观看| 91精品综合久久久久久五月天| 欧美精品一本久久男人的天堂| 欧美日韩精品中文字幕一区二区| 久久久一本二本三本| 中文字幕剧情在线观看一区| 国产又粗又爽又黄的视频| 久久久99久久精品女同性| 日本一区二区久久精品| 91精品国产综合久久香蕉922| 日韩精品一区中文字幕| 国产日韩欧美中文| 久久精品人人做人人爽| 日本a级片电影一区二区| 成人精品一区二区三区电影免费| 久久天天躁狠狠躁夜夜av|