联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Java编程Java编程

日期:2024-06-15 10:04

Programming Assignment TK3163

May 2024


The outcome of this assignment is a program that performs a syntactic and lexical check of a simple programming language that you simplified from the JAVA programming language. The program produced is a program generated through JFlex and CUP software.


This assignment has 6 activities:


1.Upload JFlex and CUP software (10%)


2.Running 2 example programs generated through JFlex generation (10%)


3.Provide a lexical and syntactic description of the Simple Programming Language, by choosing at least 5 components from the lexical and syntactic JAVA Programming Language, such as statements or expressions,


a.Variable Declaration.

b.Assignment.

c.Selection (if-else)

d.Looping (For)

e.Printf

(20%)


4.Prepare JFlex specification to show Regular Expression for Token described in phase 3. (20%)


5.Generate a JAVA program using JFlex and show the result of running the program. (20%)


6.Generate a JAVA program that combines JFlex and CUP to check the syntax of Simple Programming Language. Show results of program runs (20%)



相关文章

版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp