Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Help with creating a Program class for a BASIC Interpreter in Java

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Help with creating a Program class for a BASIC Interpreter in Java

    I am current working on a Java Project that is due February 20, which is located here:

    http://science.kennesaw.edu/~dgayler...s/project.html

    Now, the professor provided me with several example classes for me to build upon. Now, I've already done the Lexical Analyzer, entitled JordansLexicalAnalyzer in the project, and JordansParser, JordansInterpreter, AssignmentOperator, ReservedWord, and a few modifications I've done to the example classes are what I've programmed in the zip file I have linked right here:

    FileSwap.com : JavaProject2_1.zip download free

    What I'm trying to do now is create this program class that the professor has suddenly brought up without notice on the feedback on my parser:

    FileSwap.com : feedback (1).zip download free

    The trouble is, I don't even know how to create the program class. He said that I should use the grammar provided in the project to create the program class, but I don't know how I can interpret that in Java. I want to complete this before February 20, 2013, on 8:00 AM of that day. That's the due date. May you please help me with this project. I gave you a good bit of information to go by in order to help me out.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Help with creating a Program class for a BASIC Interpreter in Java

    Please post the code and your questions here on the forum.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. error with "Scanner" class in basic calculator program.
    By wheezebeez in forum What's Wrong With My Code?
    Replies: 4
    Last Post: November 2nd, 2012, 09:49 AM
  2. need to make basic class and implementation class (base class without void main)
    By javanewbie101 in forum Object Oriented Programming
    Replies: 1
    Last Post: September 19th, 2012, 08:03 PM
  3. Creating an Interpreter?
    By tapp13 in forum Java Theory & Questions
    Replies: 4
    Last Post: October 11th, 2010, 05:25 PM
  4. Basic Java File I/O with Scanner Class Problem
    By miss confused in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 26th, 2010, 08:04 AM