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;">

                亚洲午夜激情av| 国产精品久久久久精k8| 欧美网站一区二区| 久久久亚洲精品石原莉奈| 国产麻豆一精品一av一免费| 国产精品久久久久久亚洲毛片| 99精品国产视频| 日韩和欧美的一区| 国产色婷婷亚洲99精品小说| 色综合婷婷久久| 日本不卡一二三| 欧美高清在线精品一区| 欧美午夜精品免费| 国产精品资源在线观看| 一区二区三区在线观看欧美 | 制服丝袜亚洲精品中文字幕| 激情综合网av| 亚洲综合一二区| 精品sm捆绑视频| 欧美综合视频在线观看| 国产成人免费在线| 天天av天天翘天天综合网色鬼国产| 国产无一区二区| 欧美一级生活片| 99国产欧美另类久久久精品| 青青草精品视频| 亚洲精品国产一区二区精华液| 久久伊99综合婷婷久久伊| 欧美老年两性高潮| 欧美在线观看视频一区二区三区| 精品一区二区三区久久| 日韩精品视频网| 日本一区二区三区高清不卡| 中文字幕在线一区免费| 亚洲一区二区三区小说| 狠狠色丁香婷综合久久| 91老司机福利 在线| 欧美一区二区三区四区在线观看 | 精品国产一区二区三区不卡| 中文字幕乱码久久午夜不卡| 日本不卡在线视频| av午夜一区麻豆| 日韩一区二区精品葵司在线| 中文字幕一区二区三区四区| 国产日韩精品一区二区三区在线| 精品成人在线观看| 日韩视频一区二区三区在线播放 | 日韩精彩视频在线观看| 日韩美女啊v在线免费观看| 国产精品视频在线看| 国产精品欧美精品| 国产精品久久久久久久久免费桃花 | 成人午夜免费视频| 亚洲mv在线观看| 亚洲人成在线播放网站岛国| 亚洲色图欧美偷拍| 亚洲国产日韩在线一区模特| 天堂影院一区二区| 蜜臀av性久久久久av蜜臀妖精| 蜜桃久久av一区| 国产精品自产自拍| 99视频一区二区| 欧美色爱综合网| 91精品久久久久久蜜臀| 日韩三级伦理片妻子的秘密按摩| 久久影院午夜论| 国产精品久久久久婷婷二区次| 一区二区三区四区蜜桃| 亚洲 欧美综合在线网络| 亚洲精品在线三区| 天堂在线一区二区| 337p亚洲精品色噜噜噜| 天天操天天色综合| 欧美日韩电影在线| 婷婷国产在线综合| 欧美三级电影在线观看| 亚洲高清在线视频| 欧美性感一类影片在线播放| 夜夜嗨av一区二区三区中文字幕| 色综合久久久久网| 亚洲影院在线观看| 在线免费亚洲电影| 首页综合国产亚洲丝袜| 欧美一区二区三区在线| 美日韩黄色大片| xfplay精品久久| 国产经典欧美精品| 国产欧美日韩不卡| 9l国产精品久久久久麻豆| 国产精品进线69影院| 一本到不卡免费一区二区| 亚洲国产中文字幕在线视频综合| 欧美日韩国产在线观看| 日韩福利视频网| 精品av久久707| 99精品视频一区二区三区| 亚洲制服丝袜一区| 日韩欧美亚洲国产精品字幕久久久| 激情小说欧美图片| 中文av字幕一区| 欧美三级电影一区| 精品一区二区久久| 亚洲日本成人在线观看| 欧美日韩日日骚| 精品无人码麻豆乱码1区2区| 国产精品久久久久精k8| 欧美三级在线看| 久久91精品国产91久久小草| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 欧美一区2区视频在线观看| 日韩欧美一区二区在线视频| 亚洲成人资源网| 欧美性一区二区| 亚洲精品第一国产综合野| 一本色道久久综合亚洲aⅴ蜜桃 | 国产精品亚洲成人| 亚洲色图.com| 日韩欧美国产一区二区三区| 久久精品人人做人人爽97| 国产欧美精品一区| 国产成人在线色| 国产婷婷色一区二区三区| 国产一区美女在线| 久久久久久久久久久黄色| 国内精品久久久久影院一蜜桃| 精品美女在线播放| 国产一二精品视频| 国产欧美日韩在线| 91亚洲精品久久久蜜桃网站 | 久久网这里都是精品| 美女精品自拍一二三四| 欧美成人伊人久久综合网| 久久激情五月激情| 26uuu亚洲综合色| 国产成人亚洲综合a∨婷婷| 国产精品久久久久毛片软件| 99精品久久免费看蜜臀剧情介绍| 国产精品乱子久久久久| 色先锋资源久久综合| 亚洲国产成人tv| 精品三级av在线| 成人激情开心网| 亚洲va国产天堂va久久en| 精品欧美久久久| 91麻豆国产自产在线观看| 香蕉久久夜色精品国产使用方法| 精品理论电影在线观看 | 国产高清亚洲一区| 一区二区三区中文免费| 欧美一区二区视频网站| 岛国精品一区二区| 亚洲aⅴ怡春院| 国产片一区二区| 欧美在线观看视频在线| 久久99热狠狠色一区二区| 国产喂奶挤奶一区二区三区| 欧美综合久久久| 狠狠色伊人亚洲综合成人| 一区二区三区中文字幕在线观看| 日韩精品一区二区三区四区 | 国产精品资源站在线| 久久久久99精品国产片| 国产91丝袜在线播放| 成人免费黄色在线| 99视频在线观看一区三区| 99久久综合国产精品| 91丨九色丨蝌蚪富婆spa| 色欧美片视频在线观看| 欧美亚洲国产一区二区三区va| 欧美日韩国产经典色站一区二区三区 | 一区二区理论电影在线观看| 一区二区三区久久久| 亚洲国产精品一区二区www | 成人av综合在线| aaa欧美大片| 欧美亚洲综合网| 日韩区在线观看| 国产女主播在线一区二区| 18欧美乱大交hd1984| 亚洲综合av网| 美女视频第一区二区三区免费观看网站 | 日韩欧美一区二区免费| 久久久影视传媒| 国产精品成人一区二区艾草 | 欧美成人vr18sexvr| 国产午夜精品久久久久久久| 亚洲欧美一区二区视频| 亚洲一区精品在线| 美女mm1313爽爽久久久蜜臀| 成人久久久精品乱码一区二区三区 | 久久亚洲二区三区| 亚洲人123区| 秋霞av亚洲一区二区三| 成人黄色小视频在线观看| 欧美日韩一区在线观看| 久久午夜免费电影| 亚洲高清中文字幕| 蜜臀av性久久久久蜜臀aⅴ流畅| 高清不卡一二三区| 欧美美女激情18p|