Comment on Tutorial - Using StringTokenizer in Java By Emiley J



Comment Added by : lucky

Comment Added at : 2011-05-06 23:05:22

Comment on Tutorial : Using StringTokenizer in Java By Emiley J
Create a lexical analyzer of the C- programming language using Java program. The following statements available in C- are as follows:

Variable Declarations:
1. Variable must start with a letter and can be followed by a number.
2. Special characters are invalid variable name.
3. Variable must be declared before the corresponding data type.
Data types:
int char
float double
Sample variable declarations:
int A, B, C1.
Operators:
Mathematical Operators
1. Addition (+)
2. Subtraction (-)
3. Multiplication (X)
4. Division (/)
Logical Operators
1. Not (!)
2. AND (&)
3. OR (| )
Relational Operators
1. Greater than (>)
2. Less than (<)
3. Equal (==)
4. Less than equal (<=)
5. Greater than equal (>=)
6. Not equal (!>)
Assignment operator (:)
RESERVED WORDS
PRINT
INPUT
START
END
IF
ELSE
FOR
WHILE
DO WHILE
NOTE: All statements are terminated by period!

please help me how to start this program, i can't start this kind of program because i don't have a background in java ..


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. i have to write a calculator program for very ve
View Tutorial          By: maryam at 2012-12-31 10:21:55

2. Thank you for this. I am a beg and this is making
View Tutorial          By: mac at 2011-08-23 13:47:15

3. Very nice one, it really helps me. Thank you very
View Tutorial          By: eky1412 at 2012-09-10 03:45:07

4. Pls put all this code in one folder(Full project d
View Tutorial          By: Guruprasada at 2011-09-15 07:27:57

5. Hii.... We are B.Tech 4th year students. We are wo
View Tutorial          By: Shipra Malik at 2010-08-17 03:32:34

6. Really Good........!
View Tutorial          By: Anonymous at 2009-04-01 22:33:19

7. Great!
Thnks for your help..

View Tutorial          By: ramu at 2011-06-18 07:56:56

8. sach a lovely exmpl for bgnrs thanks
View Tutorial          By: aaditya at 2013-01-13 08:05:03

9. Very easy and simple to understand....good article
View Tutorial          By: Ashish at 2009-10-07 00:58:08

10. Thanks i had problem with this util module.
View Tutorial          By: james thompson at 2013-09-08 22:25:50