日韩精品一区二区三区高清_久久国产热这里只有精品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
  • 下一篇:代做指標定制選股公式代寫通達信山峰心理線副圖
  • 無相關信息
    合肥生活資訊

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

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

    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>
        欧美日韩国产综合视频在线观看中文| 亚洲精品免费网站| 狠狠色香婷婷久久亚洲精品| 欧美日韩你懂的| 欧美婷婷六月丁香综合色| 亚洲一区二区在| 欧美日韩综合视频网址| 亚洲一区二区伦理| 欧美激情自拍| 欧美mv日韩mv国产网站app| 久久免费视频观看| 海角社区69精品视频| 欧美国产视频一区二区| 国产精品白丝黑袜喷水久久久| 久久伊伊香蕉| 欧美一级欧美一级在线播放| 男女激情视频一区| 欧美诱惑福利视频| 亚洲精品乱码久久久久久黑人| 猫咪成人在线观看| 国产精品久久久久久久久久久久久| 久久riav二区三区| 午夜精品亚洲| 国产欧美丝祙| 欧美另类高清视频在线| 中国成人黄色视屏| 国产欧美视频在线观看| 国产日韩精品一区| 久久五月激情| 好吊色欧美一区二区三区视频| 亚洲午夜激情| 午夜在线视频一区二区区别| 欧美国产91| 国产一区二区中文| 一区二区三区精品久久久| 亚洲精品视频二区| 欧美视频成人| 亚洲免费精品| 欧美国产日韩一区二区在线观看| 欧美日韩成人精品| 久久精品欧美| 欧美福利网址| 亚洲欧美日韩国产成人| 欧美激情在线狂野欧美精品| 久久人人九九| 欧美日韩国产色站一区二区三区| 亚洲一区影音先锋| 久久久久久久久一区二区| 国产视频一区二区在线观看| 欧美午夜片在线免费观看| 欧美在线首页| 亚洲春色另类小说| 欧美国产专区| 久久精品道一区二区三区| 日韩视频在线一区二区三区| 性欧美1819性猛交| 国产日韩视频一区二区三区| 国产精品videosex极品| 久久久久久夜精品精品免费| 午夜视黄欧洲亚洲| 午夜激情综合网| 亚洲人成在线播放网站岛国| 激情自拍一区| 一区二区精品国产| 91久久综合亚洲鲁鲁五月天| 国产一区美女| 91久久精品国产91久久| 欧美日本簧片| 国产欧美一区二区三区视频| 欧美日韩国产一区精品一区| 好吊妞**欧美| 国产麻豆日韩| 亚洲国产高清在线| 亚洲一卡二卡三卡四卡五卡| 欧美日韩精品一区二区天天拍小说| 久久综合网色—综合色88| 欧美日韩日韩| 国产九九视频一区二区三区| 亚洲一级二级在线| 激情久久五月| 亚洲福利视频三区| 国产精品你懂的| 欧美国产日韩视频| 国产日韩欧美中文在线播放| 欧美日韩一区二区国产| 一本色道久久综合亚洲精品不卡| 久久久亚洲国产天美传媒修理工| 欧美一区二区久久久| 国产精品嫩草影院一区二区| 国产日韩欧美一区二区三区四区| 欧美jizzhd精品欧美巨大免费| 国产精品分类| 亚洲在线观看视频| 亚洲国产成人av好男人在线观看| aⅴ色国产欧美| 男女精品视频| 日韩午夜中文字幕| 欧美影院成人| 性欧美videos另类喷潮| 国产精品久久999| 在线欧美亚洲| 另类图片国产| 国产一区二区丝袜高跟鞋图片| 亚洲三级免费电影| 亚洲激情精品| 欧美日韩国产区| 国产精品男人爽免费视频1| 欧美午夜一区二区福利视频| 原创国产精品91| 欧美吻胸吃奶大尺度电影| 欧美精品在线一区| 亚洲国产欧美另类丝袜| 久久久久久欧美| 欧美日韩国内| 国产精品毛片一区二区三区| 国产精品第十页| 久久久久久久波多野高潮日日| 欧美亚洲综合久久| 亚洲欧美在线高清| 久久国产精品电影| 欧美一区2区视频在线观看| 欧美精品成人91久久久久久久| 国产精品v片在线观看不卡| 久久婷婷国产综合尤物精品| 国产欧美一区视频| 久久久国产精彩视频美女艺术照福利| 一区二区三区视频在线| 尤物yw午夜国产精品视频| 国产亚洲精品福利| 国产一区二区电影在线观看| 欧美中文字幕在线| 在线观看不卡av| 毛片精品免费在线观看| 六月丁香综合| 国产一区视频在线看| 亚洲欧洲一区二区在线播放| 亚洲女性喷水在线观看一区| 国产麻豆一精品一av一免费| 免费不卡中文字幕视频| 午夜精品一区二区三区四区| 麻豆精品精品国产自在97香蕉| 亚洲精品一二区| 黄色成人av网站| 久久久久久噜噜噜久久久精品| 中文亚洲欧美| 国产精品腿扒开做爽爽爽挤奶网站| 日韩亚洲精品电影| 欧美一级久久久久久久大片| 亚洲精品久久久久久一区二区| 久久先锋影音av| 国产九九精品| 亚洲精品一二三区| 亚洲免费一级电影| 亚洲午夜视频在线| 国产精品国内视频| 国产精品久久二区| 久久精品综合一区| 午夜精品久久久久久久男人的天堂| 亚洲天堂免费观看| 欧美v国产在线一区二区三区| 亚洲蜜桃精久久久久久久| 国产精品a久久久久久| 亚洲三级电影全部在线观看高清| 欧美a一区二区|