99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

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

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                极品少妇xxxx精品少妇偷拍| 国产精品一区二区久久不卡| 亚洲激情成人在线| 91女神在线视频| 亚洲麻豆国产自偷在线| caoporn国产精品| 成人欧美一区二区三区小说| 国产乱一区二区| 久久伊人中文字幕| 在线观看视频91| 亚洲www啪成人一区二区麻豆| 色屁屁一区二区| 最新热久久免费视频| 97久久精品人人澡人人爽| 欧美电视剧在线看免费| 奇米影视一区二区三区| 欧美一级一级性生活免费录像| 国产999精品久久久久久绿帽| 亚洲国产成人在线| 91精品久久久久久久91蜜桃| 黑人精品欧美一区二区蜜桃| 国产精品视频在线看| 欧美一区二区三区白人| 国内精品嫩模私拍在线| 亚洲福利视频一区二区| 久久综合狠狠综合久久激情| 成人av电影在线| 久久超碰97中文字幕| 国产精品久久久99| 欧美色精品在线视频| 成人午夜av影视| 五月天欧美精品| 久久人人爽人人爽| 精品人在线二区三区| 高清成人在线观看| 亚洲黄色免费网站| 中文字幕日韩av资源站| 欧美性猛片xxxx免费看久爱| 国产精品久久久久久久久免费桃花| 欧美少妇bbb| 国产精品一区二区黑丝| 欧美成人一区二区三区片免费| 色猫猫国产区一区二在线视频| 蜜臀av一区二区| 91麻豆精品国产91久久久资源速度 | 久久国产欧美日韩精品| 亚洲国产成人tv| 久久久精品国产99久久精品芒果 | 日韩写真欧美这视频| 国产乱理伦片在线观看夜一区| 国产精品久久久久毛片软件| 国产欧美日韩卡一| 日韩一区二区电影在线| 欧美一级xxx| 欧美日韩在线亚洲一区蜜芽| 成人av在线影院| 99精品久久久久久| 国产乱人伦偷精品视频不卡 | 7799精品视频| 在线电影欧美成精品| 91国偷自产一区二区三区观看| 91影视在线播放| av亚洲精华国产精华精华| 亚洲国产精品久久一线不卡| 亚洲欧美激情小说另类| 中文字幕欧美激情一区| 一区精品在线播放| 国产欧美一区二区精品性色超碰| 激情深爱一区二区| 丰满岳乱妇一区二区三区| 国产成人啪免费观看软件| 成人高清伦理免费影院在线观看| 久久 天天综合| 极品少妇xxxx偷拍精品少妇| 成人三级在线视频| 波多野结衣91| 亚洲成人av在线电影| 捆绑变态av一区二区三区| 日韩制服丝袜先锋影音| 国产盗摄一区二区| 99天天综合性| 国产福利一区二区三区视频| 99久久精品国产一区二区三区| 99久久亚洲一区二区三区青草| 欧亚洲嫩模精品一区三区| 精品视频在线看| 欧美一区二区国产| 国产精品欧美一区二区三区| 综合久久久久久久| 国产精品国模大尺度视频| 亚洲sss视频在线视频| 久久精品国产精品亚洲红杏| 91原创在线视频| 欧美日韩专区在线| 日韩欧美一级精品久久| 亚洲色图欧美偷拍| 日韩精品亚洲专区| 99re在线精品| 欧美日韩免费观看一区三区| 欧美一二三四区在线| 亚洲日本韩国一区| 美女一区二区视频| 99精品视频在线免费观看| 精品区一区二区| 亚洲精品ww久久久久久p站| 国产乱子轮精品视频| 91激情五月电影| 久久这里都是精品| 美女精品一区二区| 色综合视频一区二区三区高清| 久久久久久久久久电影| 一区二区三区在线观看视频| 男女视频一区二区| 欧美一区二区三区公司| 中文字幕乱码久久午夜不卡| 久久99热国产| 欧美三级电影在线看| 国产午夜亚洲精品理论片色戒| 日韩专区中文字幕一区二区| 91同城在线观看| 亚洲欧美日韩中文字幕一区二区三区| 美腿丝袜亚洲色图| 久久国产人妖系列| 欧美久久一二三四区| 久久精品欧美一区二区三区不卡| 日韩成人dvd| 午夜不卡av在线| 精品亚洲免费视频| 在线免费视频一区二区| 欧美人妇做爰xxxⅹ性高电影 | 欧美一区二区成人| 久久久久久久av麻豆果冻| 亚洲国产日韩一区二区| 成人黄色小视频在线观看| 国产精品进线69影院| 国产高清精品久久久久| 97精品视频在线观看自产线路二| 国产精品高潮久久久久无| 国产乱一区二区| 亚洲同性gay激情无套| 国产99精品在线观看| 国产午夜一区二区三区| 精品一区二区三区久久久| 538在线一区二区精品国产| 久久久久久麻豆| 精品一区二区久久久| 9191国产精品| 麻豆精品在线观看| 日韩精品一区二区三区四区| 日本在线不卡一区| 成人晚上爱看视频| 亚洲欧洲日韩在线| 欧美综合久久久| 欧美午夜宅男影院| 亚洲午夜精品一区二区三区他趣| 色欧美片视频在线观看| 久久精品免费看| 国产视频一区二区三区在线观看| 国产精品白丝av| 国产精品麻豆久久久| 欧美日韩高清影院| 久久99精品一区二区三区| 亚洲人成网站色在线观看| 色综合久久九月婷婷色综合| 国精产品一区一区三区mba桃花| 久久这里只有精品首页| 国产精品久久久久久久久免费桃花 | 欧美手机在线视频| 污片在线观看一区二区| 国产欧美一区二区三区沐欲| 91视频观看视频| 成人做爰69片免费看网站| 亚洲卡通动漫在线| 日韩欧美你懂的| 在线观看日韩一区| 五月婷婷综合激情| 日韩理论片在线| 欧美男男青年gay1069videost | 久久精品亚洲精品国产欧美kt∨| 国产精品一级在线| 精品久久五月天| 欧美性感一类影片在线播放| 美女精品自拍一二三四| 亚洲综合免费观看高清完整版在线 | 中文字幕日韩精品一区| 欧美精品久久一区二区三区| 一本色道亚洲精品aⅴ| 蜜桃在线一区二区三区| 亚洲免费观看高清| 中文字幕亚洲欧美在线不卡| 91超碰这里只有精品国产| 欧美体内she精视频| 国产精品88888| 国产在线视频不卡二| 亚洲综合999| 欧美日本国产视频| 欧美在线综合视频| 成人午夜av在线| 色综合久久综合网97色综合| 国产尤物一区二区|