91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

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

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

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区
    欧美亚洲一区二区三区| 久久久www成人免费毛片麻豆 | 91丨porny丨户外露出| 国产精品一品二品| 国产一区二区主播在线| 精品一区二区三区免费毛片爱| 美腿丝袜亚洲色图| 精品午夜一区二区三区在线观看 | 国自产拍偷拍福利精品免费一 | 国产激情视频一区二区在线观看| 国产一区二区女| 黄页视频在线91| 国产成人免费xxxxxxxx| 成人av网址在线| 久久精品女人| 日本韩国精品一区二区在线观看| 免费中文字幕日韩欧美| 欧美亚洲日本国产| 欧美一级高清片| 国产欧美日韩视频在线观看| 亚洲欧洲精品一区二区三区| 一区二区三区影院| 奇米一区二区三区| 成人美女视频在线看| 欧美网站在线| 鲁大师影院一区二区三区| 欧美色综合天天久久综合精品| 91精品国产一区二区| 国产喂奶挤奶一区二区三区| 一区二区日韩电影| 精品亚洲国内自在自线福利| av成人免费在线| 亚洲精品国产系列| 欧美日韩mp4| 中文字幕在线观看一区| 青青国产91久久久久久| 成人av在线看| 亚洲欧美日韩专区| 日韩欧美一级二级| 亚洲宅男天堂在线观看无病毒 | 欧洲亚洲精品在线| 精品成人一区二区三区| 一区二区三区毛片| 国产乱码精品一区二区三区忘忧草| 欧美freesex交免费视频| 免费久久久一本精品久久区| 日韩欧美一级片| 亚洲综合视频在线观看| 丁香另类激情小说| 亚洲一区二区三区午夜| 日韩欧美国产一区二区三区| 亚洲激情在线播放| 成人深夜视频在线观看| 媚黑女一区二区| 国产亚洲欧美中文| 久久精品国产亚洲aⅴ| 欧美三区美女| 日韩一卡二卡三卡| 亚洲成人av免费| 午夜精彩国产免费不卡不顿大片| 在线观看三级视频欧美| 亚洲色图.com| 91香蕉视频污在线| 欧美精品v国产精品v日韩精品 | 美女视频网站久久| 亚洲国产高清一区二区三区| 日韩欧美一级在线播放| 99视频精品在线| 在线视频综合导航| 亚洲综合精品自拍| 欧美天天在线| 久久婷婷国产综合精品青草| 捆绑变态av一区二区三区| 亚洲欧洲精品一区二区三区波多野1战4| 91精品欧美久久久久久动漫| 日韩精品免费视频人成| 黄色一区三区| 国产三级精品三级| 国产99一区视频免费| 欧美三级日本三级少妇99| 亚洲韩国一区二区三区| 亚洲午夜久久久久久尤物| 久久久欧美精品sm网站| 国产aⅴ综合色| 88在线观看91蜜桃国自产| 婷婷国产在线综合| 国产精品女主播一区二区三区| 国产蜜臀97一区二区三区| 成人永久aaa| 欧美大片一区二区三区| 黄色小说综合网站| 欧美日韩国产影片| 九一九一国产精品| 欧美色偷偷大香| 美女任你摸久久| 欧美亚洲图片小说| 裸体一区二区三区| 欧美色图一区二区三区| 久久国产乱子精品免费女| 欧美亚洲动漫制服丝袜| 理论电影国产精品| 欧美色综合久久| 国产在线视频一区二区| 欧美一区二区日韩一区二区| 国产美女视频91| 欧美成人官网二区| 91亚洲精品一区二区乱码| 久久久99精品免费观看不卡| 欧美国产三区| 综合久久一区二区三区| 99精品国产一区二区青青牛奶| 一区二区三区精品久久久| 一本色道88久久加勒比精品| 亚洲国产精品人人做人人爽| 久久青青草原一区二区| 麻豆久久久久久久| 日韩一级片在线观看| 99精品久久免费看蜜臀剧情介绍| 久久精品日产第一区二区三区高清版| 午夜久久99| 一区二区三区日韩精品视频| 色综合久久99| 国产麻豆成人传媒免费观看| 日韩女同互慰一区二区| 欧美日韩成人一区二区三区| 亚洲精品va在线观看| 色狠狠桃花综合| 成人免费毛片嘿嘿连载视频| 国产精品欧美经典| 久久亚洲欧洲| 国产高清不卡二三区| 欧美国产日韩在线观看| 久久久噜噜噜| 欧美一级视频| 国产一区二区主播在线| 国产精品情趣视频| 久热综合在线亚洲精品| 成人午夜免费视频| 亚洲激情综合网| 在线不卡a资源高清| 国内精品久久久久久久果冻传媒| 亚洲高清三级视频| 日韩欧美一级精品久久| 在线视频精品一区| 国产一区在线精品| 亚洲欧美日韩国产一区二区三区| 欧美自拍偷拍午夜视频| 欧美人与禽性xxxxx杂性| 青青草伊人久久| 亚洲国产成人在线| 欧美亚洲综合久久| 亚洲一级二级| 国产精品一区免费在线观看| 成人免费在线播放视频| 777午夜精品免费视频| 最新国产乱人伦偷精品免费网站| 精品午夜久久福利影院 | 欧美亚洲不卡| 久久精品99国产精品| 《视频一区视频二区| 91精品国产一区二区| 麻豆91精品| 国内精品久久久久国产盗摄免费观看完整版 | 精品视频色一区| 国产精品区二区三区日本| 波多野结衣的一区二区三区| 美女视频黄免费的久久 | 三级成人在线视频| 国产精品热久久久久夜色精品三区| 欧美日韩精品一区二区| 国产精品毛片在线看| 91色婷婷久久久久合中文| 久久99这里只有精品| 亚洲一区二区精品久久av| 久久久久亚洲综合| 欧美一区二区在线不卡| 一本色道久久综合精品竹菊| 亚洲乱码视频| 国产自产精品| 97精品久久久久中文字幕| 国产一区二区三区四| 日日夜夜免费精品视频| 亚洲日本一区二区三区| 国产精品青草久久| 久久午夜羞羞影院免费观看| 欧美精选午夜久久久乱码6080| 葵司免费一区二区三区四区五区| 亚洲欧洲日本mm| 精品成人在线| 伊人精品视频| 欧美精品系列| 欧美日韩伊人| 欧美精品激情| 欧美精品v日韩精品v国产精品| 99久久精品一区二区| 北岛玲一区二区三区四区 | 日韩一级大片在线| 国产精品嫩草影院com| 国产亚洲精品7777| 国产精品蜜臀av|