日韩精品一区二区三区高清_久久国产热这里只有精品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>
        精品免费久久久| 二区三区不卡不卡视频| 99精品在线播放| 国产在线拍偷自揄拍精品| 91精品在线看V| 亚洲乱码中文字幕综合| 久久视频免费看| av三级在线观看| 国产视频97| 亚洲三级欧美| 中文字幕在线中文字幕二区| 国产手机精品视频| 日韩精品在线免费观看| 欧美日韩高清在线| 国产三级在线播放| 久久精品人妻一区二区三区| 精品国产乱码一区二区| 精品日韩99亚洲| 美女免费视频一区| 亚洲大片精品永久免费| av一区在线观看| 久久在线91| 色屁屁一区二区| 免费视频一区三区| 精品久久香蕉国产线看观看gif| 亚洲综合三区| 亚洲免费在线视频一区 二区| 日韩精品三级| 免费看黄资源大全高清| 天天在线视频色| 国产福利一区在线观看| 成人一区而且| 国产福利一区二区在线精品| 国产综合成人久久大片91| 日韩欧美国产成人精品免费| 欧美日韩亚洲国内综合网俺| 日韩欧中文字幕| 国产日韩中文在线| 国产在线黄色片| 欧美wwww| 欧美日韩一级黄| 国产一二三区精品视频| 欧美日韩精品久久久| 午夜视频在线观看一区| 亚洲 欧美 中文字幕| 国产欧美 在线欧美| 日韩欧美在线看| 日韩亚洲欧美中文三级| 日韩不卡一区二区| 国产黄色片中文字幕| 日韩福利视频导航| 精品成人久久久| 第一页在线观看| 99视频在线看| 国产一二三区精品视频| 亚洲 欧美综合在线网络| 日韩亚洲欧美中文在线| 日韩三级精品| 欧美国产综合视频| 一区二区三区在线免费| av免费在线网站| 亚洲一区导航| 亚洲第一视频网站| 国产日韩中文在线| 亚洲一级特黄| 欧美日韩久久不卡| 国产高清大尺度一区二区不卡| 亚洲大片精品永久免费| 日韩中文字幕精品视频| 国产三级视频在线播放线观看| 亚洲女同中文字幕| 午夜伦欧美伦电影理论片| 天天综合日日夜夜精品| 亚洲高清免费一级二级三级| 亚洲.国产.中文慕字在线| 亚洲福利一区二区三区| 日韩精品在线免费播放| 中文字幕欧美人妻精品一区蜜臀| 日韩久久不卡| 91精品国产综合久久精品app| 日韩视频在线免费看| 日韩欧美在线综合| 欧美日韩三级在线| 久久精品国产91精品亚洲| 国产高清在线视频| 日韩亚洲国产欧美| 亚洲热线99精品视频| 精品国产综合久久| 国产天堂素人系列在线视频| 日韩免费精品视频| 国产www在线观看| 亚洲成年网站在线观看| 久久电影国产免费久久电影| 欧美日韩视频网站| 中文字幕视频在线免费欧美日韩综合在线看| 99热最新网址| 亚洲视频色图| 欧美国产三级| 中文字幕欧美日韩| 中文字幕精品在线播放| 在线亚洲人成| 日韩免费视频一区二区视频在线观看| 久久久精品99| 亚洲大片精品永久免费| 精品一二三四| 精品不卡一区二区| 国产99在线 | 亚洲| 欧美日韩乱国产| 日韩在线观看a| 久久久精品午夜少妇| 亚洲欧洲综合另类| 中文字幕久久av| 久久精品视频免费看| 91色在线看| 精品国产欧美日韩不卡在线观看| 精品人妻二区中文字幕| 在线国产91| 中文字幕在线观看视频www| 中文字幕在线看精品乱码| 精品久久电影| 欧美 日韩 综合| 亚洲高清视频一区| 极品久久久久久| 91精品国产综合久久久蜜臀粉嫩| 亚洲黄在线观看| 欧美日韩成人一区二区| 欧美黄页在线免费观看| 亚洲欧美伊人| 91精品久久久久久久久久入口| 午夜视频在线观看一区| 欧美二区在线观看| 国产高清在线视频| www.狠狠干| 欧美中文字幕视频在线观看| 日韩欧美中文视频| 一区二区精品免费| 亚洲大片免费看| 亚洲欧美视频一区二区三区| 国产婷婷色一区二区三区在线| 粉嫩粉嫩芽的虎白女18在线视频| www.中文字幕在线| 国产专区中文字幕| 国产欧美日韩精品综合| 91精品国产91久久久久青草| 欧美一级久久久久久久久大| 一区二区三区免费看视频| 欧美日韩精品国产| 91精品国产免费久久综合| 免费高清特黄a大片| 欧美一级二级三级区| 日韩久久不卡| 日韩欧美在线网站| 日韩欧美一级精品久久| av免费看在线| 日韩手机在线观看视频| 一级日本免费的| 中文字幕在线视频第一页| 亚洲欧洲日韩精品在线| 91久久精品在线| 中文字幕视频一区二区三区久| 精品国产999| 91精品国产乱码久久蜜臀| 国产成人va亚洲电影| 中文在线不卡视频|