加勒比久久综合,国产精品伦一区二区,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

    91亚洲国产成人久久精品| 日本中文在线一区| 亚洲一级高清| 亚洲警察之高压线| 欧美一级二区| 捆绑调教日本一区二区三区| 嫩草国产精品入口| 国产a久久精品一区二区三区| 香蕉久久一区| 超碰高清在线| 国产精品毛片在线| 久久青草久久| 永久免费精品视频| 99久久久成人国产精品| 国产美女久久| 亚洲天堂资源| 狂野欧美一区| 美女久久久久| 亚洲a在线视频| 麻豆一区在线| 日韩高清成人在线| 亚洲视频电影在线| 99精品久久久| 国产精品.xx视频.xxtv| 多野结衣av一区| 久久亚洲影院| 国产日韩专区| 狠狠入ady亚洲精品| 欧美手机在线| 久久精品导航| 大陆精大陆国产国语精品| 日韩极品少妇| 亚洲免费毛片| 国产精品一区二区三区www| 青青青伊人色综合久久| 国产成人福利夜色影视| 精品极品在线| 日韩中文影院| 亚洲精品一级二级| 国产精品v亚洲精品v日韩精品 | 久久久精品国产**网站| 91九色综合| 日韩免费在线| 日韩精品一区二区三区av| 在线中文字幕播放| 中文在线а√天堂| 三级在线看中文字幕完整版| 久久久久久久欧美精品| 亚洲欧美日韩一区在线观看| 亚洲精品1区| 99xxxx成人网| 视频一区视频二区中文| 国产精品福利在线观看播放| 欧美a级成人淫片免费看| 国产精品久久久久久久免费观看| 美女网站久久| 日本一区二区在线看| 国产一二三在线| 国产成人精品亚洲日本在线观看| 日本免费一区二区三区四区| 成人不卡视频| 久久中文在线| 精品一区二区三区中文字幕视频 | 999久久久国产999久久久| 亚洲一区二区av| 国内成人精品| 99亚洲乱人伦aⅴ精品| 好吊妞国产欧美日韩免费观看网站| 成人午夜网址| 五月婷婷六月综合| 蜜桃av综合| avav成人| 影音先锋日韩精品| 日韩中文一区二区| 欧美日韩精品一区二区视频| 日韩一级欧洲| 最新中文字幕在线播放| 精品欧美日韩精品| 午夜性色一区二区三区免费视频| 久久99国产成人小视频| 国产色噜噜噜91在线精品| 亚洲性视频h| 蜜桃精品视频在线| av成人在线观看| 亚洲一级淫片| 欧美顶级毛片在线播放| 午夜久久美女| 国模视频一区| 久久精品人人| 蜜桃在线一区| 午夜久久一区| 美女视频在线免费| av日韩一区| 精品九九在线| 四虎国产精品免费观看| 免费一区视频| 99精品中文字幕在线不卡| 亚洲精品1区2区| 亚洲小说图片视频| 超碰超碰人人人人精品| 久久精品日产第一区二区| 日韩精品社区| 最新国产乱人伦偷精品免费网站| 超碰在线cao| aa亚洲一区一区三区| 青青久久av| 九色porny自拍视频在线观看| 肉丝袜脚交视频一区二区| 国产欧美视频在线| 亚洲综合国产| 麻豆国产精品视频| 99精品全国免费观看视频软件| 丝袜美腿高跟呻吟高潮一区| 国产乱码精品| 精品美女视频| 欧美第一视频| 日韩激情啪啪| 美女久久一区| 亚洲人成777| 激情亚洲网站| 欧美成人三级| 色婷婷综合久久久久久| 免费观看亚洲| 日韩高清在线观看一区二区| 亚洲一区黄色| 欧美国产三区| 黄色精品一区| 国产日韩免费| 国产真实久久| 欧美一区91| 欧美一区二区性| 亚洲a成人v| 色天天色综合| 四虎地址8848精品| 精品深夜福利视频| 欧美日韩破处视频| 久久经典综合| 99九九久久| 久久激情中文| 国产日韩欧美三级| 欧美日韩国产一区二区三区不卡| 久久精品国产99国产精品| 久久免费av| 青青青爽久久午夜综合久久午夜| 久久天天综合| 久久综合导航| 99在线精品免费视频九九视| 欧美日韩一区自拍| 国产亚洲毛片| 日韩成人一级| 日产精品一区| 久久精品国产亚洲夜色av网站 | 国产亚洲永久域名| 国产亚洲观看| 超级白嫩亚洲国产第一| 三级欧美日韩| 久久福利在线| 伊人情人综合网| 国产精品18| 韩日毛片在线观看| 99re热精品视频| 欧美一区二区| 亚洲一区不卡| 精品国产亚洲日本| 成人在线观看免费视频| 国内激情久久| 最新亚洲精品| 亚州欧美在线| av成人黄色| 色妞ww精品视频7777| 欧美在线国产| 午夜亚洲视频| 国产丝袜一区| 欧美国产日本| 伊人网在线播放| 久久精品欧美一区| а天堂中文最新一区二区三区| 日本一本不卡| 久久中文字幕av| 亚洲人成亚洲精品| 日韩黄色在线| 免费看日韩精品| 国产91一区| 日韩超碰人人爽人人做人人添| 91精品国产经典在线观看| 最新日韩欧美| 开心激情综合| www.久久久久爱免| 国产精品久久亚洲不卡| 亚洲在线黄色| 91精品一区国产高清在线gif | 欧美视频亚洲视频| 综合国产在线| 欧美三级网址| 丝袜美腿成人在线| 老牛国内精品亚洲成av人片| 国产精品亚洲一区二区在线观看| 日韩精品第一| 超碰高清在线| 一本久道久久综合狠狠爱|