日韩精品一区二区三区高清_久久国产热这里只有精品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號線
  • 短信驗證碼 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>
        国产一区二区0| 伊人成人网在线看| 亚洲国产日日夜夜| 国产综合精品| 在线观看欧美成人| 欧美视频在线免费看| 亚洲午夜一区二区| 欧美日韩ab片| 亚洲日本电影| 国产精品视频最多的网站| 国产精品mm| 久久麻豆一区二区| 在线观看中文字幕亚洲| 国产精品国产三级国产aⅴ9色| 美女久久一区| 国产精品综合色区在线观看| 欧美波霸影院| 国产伦精品一区二区三| 欧美成人首页| 欧美在线一级视频| 亚洲人成网站在线观看播放| 欧美高清在线视频观看不卡| 国产午夜精品福利| 欧美日韩一区在线观看视频| 欧美激情第一页xxx| 一区在线视频| 欧美精选在线| 美女久久一区| 伊人精品成人久久综合软件| 久久精品夜色噜噜亚洲a∨| 亚洲三级毛片| 久久视频国产精品免费视频在线| 亚洲国产精品成人va在线观看| 亚洲韩国一区二区三区| 国产精品高潮粉嫩av| 午夜影视日本亚洲欧洲精品| 亚洲国产精品第一区二区三区| 欧美另类69精品久久久久9999| 欧美在线观看网址综合| 国产伊人精品| 亚洲一区二区三区在线视频| 国产午夜精品一区理论片飘花| 国产精品尤物福利片在线观看| 久久综合久久综合久久| 亚洲欧美日韩成人高清在线一区| 亚洲国产成人久久综合一区| 欧美日韩国产综合一区二区| 国产精品国产三级国产aⅴ无密码| 亚洲男人av电影| 一区二区三区三区在线| 这里只有精品电影| 欧美一区在线视频| 久久精品一区中文字幕| 欧美午夜免费电影| 欧美色视频一区| 欧美中文字幕在线视频| 欧美国产极速在线| 亚洲午夜在线| 亚洲一区二区在线免费观看| 久久精品主播| 国产亚洲高清视频| 男人的天堂亚洲在线| 免费91麻豆精品国产自产在线观看| 国产精品三级久久久久久电影| 一区二区三区日韩精品| 欧美激情成人在线视频| 国产日韩一区欧美| 久久精品国语| 亚洲精品欧美激情| 欧美综合第一页| 国产欧美日韩一区二区三区在线| 久久gogo国模裸体人体| 国产欧美日韩免费看aⅴ视频| 国产精品乱码人人做人人爱| 亚洲大胆在线| 99精品热视频| 欧美日韩在线亚洲一区蜜芽| 在线亚洲伦理| 制服丝袜亚洲播放| 国产亚洲观看| 欧美91大片| 欧美在线观看你懂的| 老司机免费视频一区二区| 久久免费精品日本久久中文字幕| 欧美mv日韩mv国产网站app| 亚洲综合色噜噜狠狠| 欧美日韩午夜剧场| 在线看欧美日韩| 国产精品video| 国产精品免费aⅴ片在线观看| 亚洲一区二区三区精品在线观看| 亚洲国产一区二区三区青草影视| 国产美女高潮久久白浆| 午夜在线a亚洲v天堂网2018| 在线国产欧美| 女人天堂亚洲aⅴ在线观看| 亚洲破处大片| 欧美中日韩免费视频| 一区二区亚洲欧洲国产日韩| 免费日韩成人| 亚洲欧美国产不卡| 国产视频一区二区三区在线观看| 欧美va亚洲va国产综合| 国产欧美精品| 亚洲大片精品永久免费| 久久天堂精品| 国语自产精品视频在线看8查询8| 久久精品在线观看| 欧美激情综合在线| 亚洲精品视频二区| 一本色道久久综合亚洲二区三区| 亚洲综合日韩在线| 久久成人精品| 欧美精品在线观看91| 日韩视频精品在线观看| 国产精品一区二区你懂得| 母乳一区在线观看| 国产在线精品自拍| 国产一区二区三区观看| 亚洲综合日韩在线| 国产一区成人| 欧美日韩三级| 欧美一级久久久久久久大片| 亚洲另类视频| 亚洲第一二三四五区| 在线精品视频在线观看高清| 伊人久久婷婷色综合98网| 欧美精品久久一区二区| 久久国产精品一区二区| 久久精品91久久香蕉加勒比| 欧美日韩在线播放| 亚洲视频在线一区观看| 欧美日韩在线影院| 亚洲一区二区少妇| 欧美区一区二区三区| 性欧美暴力猛交69hd| 欧美日韩极品在线观看一区| 一区二区在线视频观看| 欧美激情亚洲一区| 日韩一区二区电影网| 国内精品久久久久久久97牛牛| 有坂深雪在线一区| 久久久久久久91| 欧美高清视频www夜色资源网| 国产精品乱人伦中文| 亚洲精品久久久久久久久久久久久| 亚洲欧美日韩国产综合在线| 性欧美超级视频| 国产精品国产精品国产专区不蜜| 亚洲最新在线| 欧美伊人久久久久久午夜久久久久| 国产噜噜噜噜噜久久久久久久久| 亚洲国产日日夜夜| 久久乐国产精品| 久久久精品国产免费观看同学| 亚洲在线视频| 国产一区二区三区在线观看免费| 亚洲欧洲精品成人久久奇米网| 国产精品一区久久久| 亚洲高清一区二区三区| 久久久久久久91| 在线亚洲精品福利网址导航| 国产精品久久久久久久久动漫| 久久综合狠狠综合久久综合88|