日韩精品一区二区三区高清_久久国产热这里只有精品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>
        亚洲激情欧美激情| 欧美激情一区二区三区不卡| 亚洲伦理中文字幕| 久久久一区二区三区| 欧美日韩另类国产亚洲欧美一级| 国产精品爱久久久久久久| 性伦欧美刺激片在线观看| 亚洲第一色在线| 狠色狠色综合久久| 亚洲日本aⅴ片在线观看香蕉| 亚洲欧美偷拍卡通变态| 在线观看欧美视频| 欧美+日本+国产+在线a∨观看| 亚洲影视综合| 亚洲午夜三级在线| 国产精品视频内| 在线观看久久av| 亚洲视频精品在线| 久久精品系列| 欧美日韩免费在线视频| 久久婷婷麻豆| 久久久久久网址| 久久久久免费视频| 亚洲激情中文1区| 亚洲精品久久久久久下一站| 久久亚洲精品中文字幕冲田杏梨| 老司机67194精品线观看| 午夜精品久久久久久99热| 亚洲手机成人高清视频| 亚洲天堂成人在线视频| 国产精品黄色在线观看| 欧美成人第一页| 欧美精品一区二区精品网| 午夜精品成人在线视频| 欧美精品国产精品| 国产精品v一区二区三区| 国产精品亚洲综合一区在线观看| 一区二区国产日产| 国产亚洲精品久久久久动| 欧美日韩在线免费观看| 欧美激情精品久久久久久免费印度| 久久国产欧美日韩精品| 精品成人乱色一区二区| 欧美色中文字幕| 亚洲人精品午夜在线观看| 亚洲免费综合| 亚洲欧美日本日韩| 免费成人高清在线视频| 国产精品尤物福利片在线观看| 欧美日韩在线第一页| 精品成人一区二区三区| 夜夜嗨av一区二区三区四季av| 国产亚洲一级高清| 狠狠色综合网| 欧美午夜电影在线| 一本色道精品久久一区二区三区| 久久精品中文| 亚洲精品视频啊美女在线直播| 亚洲午夜国产一区99re久久| 国产精品一区久久久| 久久精品国产成人| 亚洲午夜久久久久久久久电影网| 国产精品亚洲综合色区韩国| 久久色在线播放| 亚洲三级国产| 国产欧美日韩精品在线| 久久综合伊人77777尤物| 欧美日韩中文精品| 精品动漫一区二区| 欧美黄色一区| 国产欧美日韩专区发布| 一本久道久久综合婷婷鲸鱼| 亚洲国产高清自拍| 亚洲天堂免费观看| 欧美亚洲综合另类| 久久青青草综合| 一区二区日韩欧美| 小黄鸭精品aⅴ导航网站入口| 久久久噜噜噜久久久| 国外成人在线视频| 亚洲国产日韩一区二区| 国产伦精品一区二区三区照片91| 久久国产精品黑丝| 欧美视频在线不卡| 影音先锋亚洲视频| 欧美日韩在线视频一区二区| 激情五月综合色婷婷一区二区| 欧美精品一区二区视频| 国产亚洲综合在线| 欧美日韩国产999| 亚洲线精品一区二区三区八戒| 国产日韩在线亚洲字幕中文| 欧美96在线丨欧| 国产精品丝袜91| 免费成人激情视频| 久久久久在线观看| 欧美日韩亚洲一区二区三区在线| 美女精品视频一区| 中文精品视频一区二区在线观看| 国产精品v日韩精品| 欧美一区二区三区在| 欧美日韩国产区一| 亚洲精品美女在线观看| 欧美一二区视频| 欧美日一区二区在线观看| 欧美一区日本一区韩国一区| 欧美香蕉大胸在线视频观看| 亚洲午夜国产成人av电影男同| 亚洲女同性videos| 国产精品久久久久永久免费观看| 亚洲国产中文字幕在线观看| 欧美一区精品| 久久国产一区二区三区| 国产一区二区三区高清在线观看| 欧美激情视频免费观看| 久久久久国产精品午夜一区| 一区在线播放视频| 伊人伊人伊人久久| 欧美成人资源| 欧美日韩精品在线播放| 国产欧美日韩亚洲精品| 欧美日韩免费观看中文| 中文欧美日韩| 国产精品a久久久久久| 欧美日韩精品一区二区天天拍小说| 国产日韩在线一区二区三区| 狠狠久久亚洲欧美专区| 久久人人看视频| 国产精品久久久久aaaa| 国产人成一区二区三区影院| 欧美激情精品久久久久久黑人| 一区二区三区在线免费视频| 国产农村妇女毛片精品久久麻豆| 日韩视频一区二区三区在线播放免费观看| 国产精品萝li| 在线成人免费观看| 欧美亚韩一区| 日韩一级不卡| 欧美专区18| 麻豆精品视频在线| 99在线视频精品| 亚洲人成亚洲人成在线观看图片| 欧美国产高潮xxxx1819| 狠狠色丁香久久综合频道| 欧美日韩专区在线| 欧美片第1页综合| 国产片一区二区| 免费亚洲视频| 亚洲精品日韩一| 亚洲麻豆国产自偷在线| 欧美一区二区久久久| 国产日产亚洲精品系列| 午夜精品久久久久久久久久久| 欧美日韩国产免费观看| 亚洲人久久久| 亚洲无线视频| 久久不射2019中文字幕| 欧美午夜理伦三级在线观看| 韩日精品视频一区| 国产亚洲欧美另类中文| 国产亚洲激情| 亚洲精品欧美激情| 欧美日韩中国免费专区在线看| 欧美激情国产精品|