日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

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

    合肥圖文信息
    仿真分析咨詢外包服務-結構 / 熱 / CFD流體 / 電磁 / 光學CAE代做
    仿真分析咨詢外包服務-結構 / 熱 / CFD流體
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
  • 豆包網頁版入口 Trae 目錄網 排行網

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        国产丝袜在线播放| 91精品国产色综合久久不卡蜜臀| 阿v免费在线观看| 99精品999| 中文字幕欧美日韩| 天天在线视频色| 亚洲狠狠婷婷综合久久久久图片| 色妇色综合久久夜夜| 精品激情国产视频| 在线精品视频免费播放| 日韩中文字幕在线视频观看| 精品国产免费观看一区| 日韩国产成人| 国产一二三四| 国产欧美高清在线| 午夜高潮免费视频| 亚洲欧洲三级| 91精品国产99| 欧美日韩综合视频| 精品视频在线导航| 欧美久久久精品| 日韩欧美在线中文字幕| 91精品国产自产观看在线| 免费高清特黄a大片| 国产欧美日韩精品高清二区综合区| 精品视频999| 免费在线观看国产黄| 精品欧美久久久| 日韩在线视频观看正片免费网站| 91麻豆视频网站| 欧美亚洲另类制服自拍| 国产99对白在线播放| 亚洲a一级视频| 国产真实乱子伦精品视频| 日韩精品乱码av一区二区| 久久久精品免费免费| 国产在线观看色| 亚洲国产福利视频| 国产成人精品综合网站| 亚洲国产无线乱码在线观看| 日韩三级一区二区| 51精品免费网站| 中文字幕亚洲一区在线观看| 91精品国产91综合久久蜜臀| 在线免费播放av| 精品一二三区视频| 国产小视频免费在线观看| 91日韩中文字幕| 欧美日韩免费不卡视频一区二区三区| 免费视频国产一区| 日韩网站中文字幕| 欧美日韩亚洲不卡| 国产欧美日韩在线看| 欧美日中文字幕| 国产69精品久久久久孕妇国产69久久| 日本精品免费观看高清观看| 亚洲一区在线观看网站| 亚洲乱码视频| 亚洲国产午夜精品| 国产在线高清精品| 欧美日韩国产综合视频在线观看中文| 首页国产欧美久久| 国产 欧美 日韩 在线| 亚洲国产欧美日韩精品| 二区三区不卡不卡视频| 国产九九在线| 91一区二区| 91精品国产综合久久福利| 日韩欧美一二三区| 在线观看91精品国产入口| 日韩三级视频在线| 日本一欧美一欧美一亚洲视频| 中文字幕亚洲一区在线观看| 日韩欧美999| 国产免费久久久| 欧美日韩中文字幕| 一本久久a久久精品亚洲| 日韩中文字幕网| 欧美在线日韩精品| 精品欧美不卡一区二区在线观看| 久久久精品国产99久久精品芒果| 国产黄色精品| 久久精品免费在线观看| 欧美一级手机免费观看片| 亚洲综合在线不卡| 国产欧美日韩第一页| 国产婷婷色一区二区三区| 欧美激情视频一区二区三区在线播放| 91精品国产自产在线| 欧美日韩国产第一页| 久久精品一二三| 青青国产91久久久久久| 欧美日韩国产专区| 久久麻豆视频| a天堂中文在线官网在线| 亚洲一区视频在线观看视频| 免费高清视频日韩| 亚洲国产福利| 日韩精品首页| 日韩视频在线观看一区| 国产农村妇女精品一二区| 国产成人精品日本亚洲专区61| 区日韩二区欧美三区| 中文字幕人成乱码在线观看| 亚洲一区二区三区精品中文字幕| 国产福利免费在线观看| 日韩国产欧美三级| 亚洲福利视频专区| 国产一区在线观看视频| 亚洲黄在线观看| 精产国产伦理一二三区| 色综合天天综合网国产成人综合天| 91精品国产高清91久久久久久| 国产乱国产乱老熟300| a在线观看免费视频| www.精品视频| 欧美,日韩,国产在线| 亚洲欧洲在线观看av| 亚洲欧洲日产国码av系列天堂| 日韩三级精品电影久久久| 亚洲第一页中文字幕| 国产视频1区| 国产无遮挡在线视频免费观看| 日韩在线二区| 在线观看一区日韩| 日韩不卡在线播放| 中文在线不卡视频| 日韩免费不卡avV| 亚洲成av人片一区二区密柚| 一区二区三区高清在线| 国内精品99| 日本亚洲欧美天堂免费| 久久久综合精品| 国产欧美 在线欧美| 欧美日韩国产亚洲一区| 日本亚洲欧美天堂免费| 午夜国产欧美理论在线播放| 黄色精品在线观看| 国产福利久久| 中文字幕亚洲一区在线观看| 欧美黄页在线免费观看| 最近高清中文在线字幕在线观看1| 美国av一区二区| 精品久久蜜桃| 国产激情三区| 日韩视频国产视频| 一区二区三区在线播放欧美| 婷婷精品进入| 国产视频1区| 欧美日韩午夜在线视频| 欧美啪啪一区| 日韩精品视频在线免费观看| 欧美日韩在线视频免费观看| 日韩免费电影网站| 日韩精品视频在线免费观看| 午夜亚洲福利| 91亚洲国产高清| 久草视频在线看| 一区二区三区精品久久久| 白嫩少妇丰满一区二区| 天天综合天天添夜夜添狠狠添| 中文字幕第一页在线播放| 日韩午夜一区| 国产日韩中文字幕|