国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

代做 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分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品久久电影观看| 国产精品自拍视频| 精品国产乱码久久久久久久软件| 国产成人免费高清视频| 久久免费视频这里只有精品| 97免费视频观看| 99在线观看视频免费| 91精品国产精品| 久久五月天婷婷| 久久99导航| 日韩中文字幕在线| 国产精品久久久久久久久久久久午夜片 | 在线精品日韩| 亚洲一区尤物| 日韩精品久久一区二区| 欧美最大成人综合网| 国模无码视频一区二区三区| 欧美亚洲一级二级| 国产日韩在线精品av| 91久久久久久久| 国产成人拍精品视频午夜网站| 久久中文字幕在线视频| 久久99久久99精品免观看粉嫩| 亚洲综合激情五月| 日韩精品另类天天更新| 国内自拍欧美激情| 91免费看国产| 色青青草原桃花久久综合| 欧美另类69精品久久久久9999| 伊人久久在线观看| 大j8黑人w巨大888a片| 欧美日韩一区在线播放| 欧美 日韩 国产一区| 99免费视频观看| 精品国内自产拍在线观看| 色综合导航网站| 日本一区精品| 国产一区二区在线观看免费播放| 97欧美精品一区二区三区| 久久精品国产69国产精品亚洲| 国产精品久久久久久久久久三级 | 婷婷久久五月天| 欧美高清视频一区| 91精品久久久久久久久久久久久 | 久久天堂电影网| 亚洲一区二区中文字幕| 男人天堂av片| …久久精品99久久香蕉国产| 国产精品久久久久久久9999 | 春色成人在线视频| 国产亚洲欧美另类一区二区三区| 国产福利精品在线| 在线视频一区观看| 日本免费a视频| 国产伦精品一区二区三区四区视频 | 日韩专区在线观看| 亚洲日本精品国产第一区| 人妻夜夜添夜夜无码av| 国产一区二区香蕉| 国产成人精品在线观看| 婷婷久久五月天| 国产一区二区中文字幕免费看| 久久综合一区| 永久久久久久| 国产在线不卡精品| 久久深夜福利免费观看| 日韩少妇中文字幕| 久久久国产精品一区二区三区| 一区二区在线不卡| 国产区一区二区| 国产精品久久久久久久久久久久 | 激情伊人五月天| 国产成人久久精品| 日韩欧美亚洲日产国| 91av网站在线播放| 伊人天天久久大香线蕉av色| 国产一区二区在线视频播放| 深夜福利91大全| 欧美一级片免费观看| 91成人免费视频| 亚洲福利av在线| av在线亚洲男人的天堂| 日韩视频免费在线观看| 日本高清视频免费在线观看| 91精品国产自产在线老师啪| 欧美精品福利在线| 国产精品一区二区三区在线观| 欧美精品少妇videofree| 精品无码久久久久久久动漫| 国产精品欧美激情在线播放| 男人亚洲天堂网| 国产精品久久77777| 国产在线一区二区三区欧美| 久久综合网hezyo| 国产日韩欧美中文在线播放| 精品国产一区二区三区麻豆免费观看完整版 | 91九色在线免费视频| 亚洲国产一区二区三区在线| 69久久夜色精品国产69| 亚洲精品中文字幕无码蜜桃| 国产精品91在线观看| 欧美一区二区三区免费观看| 成人久久久久爱| 亚洲国产精品久久久久爰色欲 | 日韩免费在线播放| 久久久精品国产网站| 黄频视频在线观看| 色综合久久久888| 91免费福利视频| 日韩网站在线免费观看| 国产不卡一区二区在线观看| 欧美在线一级视频| 欧美成人第一页| 91精品国产高清久久久久久91裸体 | 亚洲五月六月| 久久精品国产精品亚洲精品色 | 五月天综合网| 日韩在线观看精品| 免费日韩中文字幕| 亚洲影视中文字幕| 久久久久久久久综合| 国产一区在线播放| 亚洲高清资源综合久久精品| 深夜福利一区二区| 国产女主播av| 日本在线播放一区| 久久久久久久久国产精品| 激情视频在线观看一区二区三区| 精品国产乱码久久久久久108| 97精品国产97久久久久久粉红| 日韩欧美亚洲区| 欧美激情小视频| 国产成一区二区| 国产一区在线观| 日韩人妻一区二区三区蜜桃视频| 国产精品福利小视频| 国产精品aaa| 国产资源在线视频| 日韩av成人在线观看| 国产精品欧美在线| 久久青草精品视频免费观看| 欧美有码在线观看| 一区一区视频| 国产精品视频久久久| 91国在线高清视频| 国产热re99久久6国产精品| 日韩暖暖在线视频| 亚洲伊人第一页| 麻豆乱码国产一区二区三区| 国产大尺度在线观看| 国产伦精品一区二区三区四区视频| 日本不卡一区二区三区四区| 宅男av一区二区三区| 国产精品视频网址| 久久久成人精品一区二区三区| 精品视频在线观看一区| 日韩欧美一区二区三区四区| 国产精品久久久久久久久久三级| 国产高清自拍一区| 高清在线观看免费| 免费高清一区二区三区| 人偷久久久久久久偷女厕| 亚洲一区二区三区在线视频| 久久av红桃一区二区小说| 久久久久久久久久久亚洲| 成人h视频在线| 激情六月丁香婷婷| 日韩视频在线视频| 日韩av免费网站| 视频一区二区三区在线观看| 中文字幕在线中文 | 久久久久久亚洲精品中文字幕| 91精品国产免费久久久久久| 国产剧情日韩欧美| 国产视频一视频二| 欧美不卡在线一区二区三区| 日本10禁啪啪无遮挡免费一区二区| 亚洲一区二区中文字幕| 欧美精品xxx| 精品国产一区二区三区日日嗨| 国产精品久久久| 国产成人精品最新| 久久精品影视伊人网| 久久久999成人| 国产精品热视频| 久久精品小视频| 国产精品日韩欧美综合| 久久久黄色av| 国产精品区免费视频| 国产精品入口日韩视频大尺度| 日韩有码视频在线| 精品国产网站地址| 国产精品丝袜白浆摸在线| 国产精品爽爽爽| 国产精品成人观看视频免费| 国产精品久久久久免费a∨大胸| 国产精品国产三级国产aⅴ9色| 国产精品成人一区二区三区| 国产精品久久久久久久久久久久久| 色妞一区二区三区|