加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

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

代做 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
  • 下一篇:代做指標定制選股公式代寫通達信山峰心理線副圖
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    先锋影音网一区二区| 香蕉久久网站| 欧美aⅴ一区二区三区视频| 国产精品腿扒开做爽爽爽挤奶网站| 日韩在线你懂的| 国产91亚洲精品久久久| 性一交一乱一区二区洋洋av| 日本不卡高清| 日本天堂一区| 日本不卡一区二区三区| 少妇视频在线观看| 久久最新视频| 欧美一二区在线观看| 日韩高清在线观看一区二区| 亚洲三级观看| 欧美一区在线看| 三级在线看中文字幕完整版| 亚洲欧美清纯在线制服| 天天躁日日躁狠狠躁欧美| 亚洲人成网www| 欧美日一区二区在线观看| 亚洲综合在线电影| 美国欧美日韩国产在线播放| 亚洲精品国产偷自在线观看| 黄色免费大全亚洲| 日韩va亚洲va欧美va久久| 一区二区影视| 麻豆精品蜜桃视频网站| 精品国产美女a久久9999| 日韩在线综合| av免费不卡国产观看| 老司机午夜精品视频| 影音先锋久久| 女优一区二区三区| 91精品国产福利在线观看麻豆| 亚洲精选av| 日韩高清电影免费| 国产专区精品| 国产视频一区二区在线播放| 亚洲国产一区二区三区a毛片| 国产伊人久久| 国产精品久久久久77777丨| 亚洲成人av观看| 日韩午夜电影网| 色在线中文字幕| 百度首页设置登录| 精精国产xxxx视频在线播放| 第四色男人最爱上成人网| 高清av不卡| 日本不良网站在线观看| 亚洲午夜天堂| 78精品国产综合久久香蕉| 国产精品亚洲成在人线| 精品自拍视频| 欧美亚洲专区| 亚洲毛片网站| 国产尤物久久久| 亚洲综合福利| 动漫av一区| 99精品视频在线| 欧洲乱码伦视频免费| 黄色日韩在线| 天堂va蜜桃一区二区三区| 国产精品精品| 日韩av中字| 国产日韩欧美在线播放不卡| 亚洲日本欧美| 日韩av中文字幕一区二区| 欧美2区3区4区| 久久美女视频| 国产亚洲一级| 极品在线视频| 日韩欧美三区| 亚洲老司机网| 97成人在线| 五月天久久777| 成人在线电影在线观看视频| 经典三级一区二区| 国产精品地址| 日韩精品一区二区三区中文| 精品久久网站| 在线综合亚洲| 日产精品一区| 一区二区日韩欧美| 一区二区精彩视频| 久久久www| 日韩在线一二三区| 日本一区二区三区视频在线| 日本美女一区二区三区| 欧美日韩123| 久久久噜噜噜| 蜜臀av性久久久久蜜臀av麻豆| 午夜精品成人av| 精品精品精品| 伊人天天综合| 视频一区在线免费看| 亚洲国产黄色| 一区二区三区自拍视频| 伊人情人综合网| 交100部在线观看| 国产高清精品二区| 国产福利资源一区| 亚洲在线免费| 精品乱码一区二区三区四区| 天堂99x99es久久精品免费| 欧美日韩在线二区| а√天堂8资源中文在线| 麻豆精品视频在线| 韩国女主播一区二区三区 | 日韩国产综合| 99精品美女视频在线观看热舞| 999久久精品| 蜜臀久久久久久久| 麻豆91小视频| 美日韩黄色大片| 91麻豆精品国产91久久久平台| 日韩高清欧美激情| 欧美偷窥清纯综合图区| 日本女优一区| 国产视频一区二区在线播放| 亚洲www免费| 久久国产人妖系列| 亚洲一区二区三区四区电影| 亚洲免费网站| 日本在线播放一区二区三区| 青青草国产免费一区二区下载| 老司机精品久久| 久久人人爽人人爽人人片av不| 999精品在线| 国产精品99精品一区二区三区∴| 少妇精品在线| av资源中文在线天堂| 国产欧美一区二区精品久久久| 狠久久av成人天堂| 日本在线不卡一区| 国产真实久久| 一区二区三区四区五区在线 | 欧州一区二区三区| 亚洲精品久久久| 国产精品草草| 中文精品在线| 国产一区二区在线观| 国产偷自视频区视频一区二区| 国产精品啊啊啊| 99国产精品99久久久久久粉嫩| 99精品国产在热久久婷婷| 小说区图片区色综合区| 欧美一区在线看| 视频一区中文| 亚洲在线久久| 国产农村妇女毛片精品久久莱园子| 亚洲精品影视| 一区福利视频| www.久久爱.com| 蜜桃av一区二区在线观看| 婷婷综合成人| 日本免费一区二区三区四区| 大伊香蕉精品在线品播放| 亚洲成av在线| 神马香蕉久久| 麻豆国产一区二区| 国产偷自视频区视频一区二区| 欧美一区一区| 91中文字幕精品永久在线| 第四色中文综合网| 久久精品久久久精品美女| 九一成人免费视频| 国产一区毛片| 欧美日韩视频免费观看| 久久精品官网| 国内久久视频| 国产极品在线观看| 亚洲a一区二区三区| 亚洲毛片一区| 黄色在线观看www| 台湾亚洲精品一区二区tv| 亚洲精品影院在线观看| 蜜桃视频一区二区三区在线观看 | 国产一区二区三区四区三区四 | 亚洲精品自拍| 日韩欧美二区| 亚洲精品小说| 久久久91麻豆精品国产一区| 高清欧美日韩| 国产亚洲午夜| 欧美一区自拍| 国产不卡一二三区| 国产一区二区三区朝在线观看| 最新亚洲一区| 精品国产欧美日韩| 欧美大片91| 国产福利亚洲| 91欧美国产| 欧美日韩四区| 丁香综合av| 久久av影视| 久久精品72免费观看| 蜜桃av噜噜一区| 欧美日韩第一| 午夜视频一区二区在线观看|