Results 1 to 4 of 4
Hey guys,
As some of you know that I am new to this forum. I have another problem that I got stuck on. I have this file called "Fib.rbb" and ...
- 04-01-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 9
[Perl] Interpreter for Fib numbers
Hey guys,
As some of you know that I am new to this forum. I have another problem that I got stuck on. I have this file called "Fib.rbb" and my instructor told us to write an interpreter program by using Fib.rbb.
"You are to write an interpreter in Perl for Rong’s Basic Basic (RBB) as explained in class. The BNF description for RBB and a test file called Fib.rbb are part of the RBB.zip file which is available in the Course Documents folder on blackboard. If you call your interpreter myIntp.pl, you would execute the program via perl myIntp.pl Fib.rbb
Can you guys give me an idea and help me out on this? I am not asking to do my work.Code:Print "A few Fibonacci numbers:" X = 1 Print X Y = 1 Print Y 10 If Y >= 20 Goto 100 EndIf Temp = X + Y X = Y Y = Temp Print Y Goto 10 100 End
- 04-01-2010 #2
this is exactly a homework question, and you indeed ARE asking us to do your work for you
it is against forum rules to post homework questions, though we will be more than helpful with specific questions you have about languages, syntax, etc.
- 04-01-2010 #3Just Joined!
- Join Date
- Mar 2010
- Posts
- 9
Do you see any where "some1 do this program for me?" type of thing?
I said can you give me an idea.
Read the post or think twice before you say something.
- 04-01-2010 #4
smsh, please remember that this is a community-run website, and we are all volunteers here. Please be respectful.
Having said that, I agree with coopstah13, and this is an inappropriate question. If you have a question about some specific concept, we are happy to help, but we cannot design a homework solution for you.
Thread closed.DISTRO=Arch
Registered Linux User #388732


