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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          在线视频你懂得一区| 国产精品一区二区黑丝| 亚洲五月六月| 亚洲成色精品| 欧美丝袜一区二区三区| 欧美96在线丨欧| 午夜免费在线观看精品视频| 亚洲人成7777| 亚洲第一在线视频| 国产三级精品在线不卡| 欧美视频在线播放| 欧美顶级艳妇交换群宴| 久久久久久久久久久成人| 亚洲无线视频| 亚洲午夜成aⅴ人片| 亚洲国产精品视频一区| 国内精品亚洲| 国产欧美精品va在线观看| 欧美三级网页| 欧美连裤袜在线视频| 久久免费国产| 久久精品国产v日韩v亚洲| 欧美亚洲视频| 欧美一区二区三区精品电影| 亚洲欧美另类中文字幕| 亚洲欧美日韩综合一区| 欧美在线|欧美| 国产精品三级视频| 欧美日韩一区国产| 欧美精品www| 亚洲日本欧美在线| 一区二区三区日韩欧美| 免费不卡视频| 国产日韩欧美综合一区| 日韩亚洲视频在线| 狂野欧美一区| 国产日韩欧美在线播放| 亚洲视频 欧洲视频| 欧美~级网站不卡| 国内不卡一区二区三区| 中文在线资源观看网站视频免费不卡| 久久成人精品| 国产精品一区二区久久久| 亚洲深夜福利| 欧美日韩国产成人高清视频| 亚洲承认在线| 你懂的国产精品| 影音国产精品| 久久久99免费视频| 国内一区二区在线视频观看| 新片速递亚洲合集欧美合集| 国产精品视频观看| 亚洲欧美国产三级| 欧美体内she精视频| 一本色道综合亚洲| 国产精品www.| 亚洲小说春色综合另类电影| 欧美午夜久久久| 一本色道久久综合精品竹菊| 欧美区一区二| 亚洲主播在线播放| 国产精品视频yy9099| 一本一本a久久| 蜜臀a∨国产成人精品| 国产欧美一区二区在线观看| 亚洲特色特黄| 欧美视频在线观看一区二区| 国内综合精品午夜久久资源| 一区二区三区欧美视频| 欧美日韩国产黄| 日韩一区二区精品视频| 欧美成人免费一级人片100| 尤物视频一区二区| 久久久久久亚洲综合影院红桃 | 一区二区三区不卡视频在线观看| 久久大香伊蕉在人线观看热2| 国产伦精品一区二区三区免费迷| 亚洲精品日日夜夜| 欧美日韩在线播放三区| 亚洲午夜小视频| 欧美天天视频| 久久精品国产一区二区三区| 韩日在线一区| 免费在线看一区| 亚洲精品黄色| 欧美日韩综合精品| 午夜久久tv| 狠狠干成人综合网| 久久噜噜亚洲综合| 一区二区三区精品视频| 国产精品久久久久久久午夜片| 亚洲午夜视频在线观看| 国产麻豆精品在线观看| 欧美综合国产| 亚洲激精日韩激精欧美精品| 欧美日韩的一区二区| 亚洲永久免费观看| 欧美国产日韩a欧美在线观看| 亚洲图片自拍偷拍| 国内精品久久久久久| 久久综合一区二区三区| 日韩午夜视频在线观看| 国产精品国产三级国产专播精品人 | 欧美日韩一级大片网址| 久久久久久91香蕉国产| 亚洲激情一区| 国产欧美日本在线| 欧美chengren| 欧美一区二区精品| 亚洲精品日韩激情在线电影| 欧美亚州一区二区三区| 欧美刺激午夜性久久久久久久| 亚洲午夜一区| 91久久香蕉国产日韩欧美9色| 国产精品mm| 欧美大片一区| 午夜精品影院| 日韩视频久久| 亚洲第一偷拍| 国产亚洲一区精品| 欧美午夜一区| 欧美精品导航| 久久久av毛片精品| 亚洲尤物在线视频观看| 国产日韩欧美不卡| 欧美美女喷水视频| 免费视频最近日韩| 午夜精品一区二区在线观看| 亚洲精品之草原avav久久| 国产精品一国产精品k频道56| 欧美成人蜜桃| 免费观看30秒视频久久| 久久国产精品网站| 亚洲欧美日韩精品久久| 亚洲美女色禁图| 亚洲国产91| 亚洲国产精品成人久久综合一区| 国产麻豆91精品| 国产精品美女主播| 欧美视频中文字幕在线| 欧美理论电影在线观看| 欧美一区二区大片| 午夜精品影院| 欧美在线91| 欧美在线网站| 亚洲一级一区| 久久精品国产96久久久香蕉| 亚洲一区视频| 亚洲伊人网站| 欧美一级视频| 久久久久久亚洲精品中文字幕| 亚洲中字在线| 久久久久国产成人精品亚洲午夜| 久久精品国产清高在天天线 | 国产精品r级在线| 欧美色区777第一页| 欧美日韩久久不卡| 欧美三级日韩三级国产三级| 国产欧美日韩一级| 国内一区二区三区| 91久久香蕉国产日韩欧美9色| 亚洲美女在线看| 亚洲一区二区三区777| 亚洲三级国产| 欧美一区二区三区免费在线看| 欧美一区二区三区男人的天堂| 久久精品一二三| 欧美www视频| 欧美日韩综合| 欧美日韩精品综合在线| 国产一区二区三区久久| 在线观看一区视频| 一区二区三区回区在观看免费视频| 亚洲综合二区| 久久免费高清| 欧美激情一级片一区二区| 国产伦精品一区二区三区在线观看 | 1000部精品久久久久久久久| 亚洲丰满在线| 一本久久综合| 欧美一区免费| 欧美精品手机在线| 国产精品亚洲综合色区韩国| 一区二区三区在线不卡| 一本综合久久| 欧美亚洲免费高清在线观看| 欧美日韩mp4| 国产亚洲一区二区在线观看| 亚洲日本免费电影| 欧美一区午夜精品| 欧美日产在线观看| 国产精品日本| 一区二区三区视频在线看| 久久精品五月| 国产精品av免费在线观看| 黄色一区二区在线| 亚洲欧美日韩成人| 女女同性女同一区二区三区91| 国产精品日韩一区二区| 在线免费观看日本欧美|