首页 > > 详细

TK3163编程讲解 、辅导 Java程序语言

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%)


联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!