![]() |
.. (לתיקייה המכילה) | |
How are you going to check our generated IL ? | |
I'm going to check it using the bvm.pl script. So you can generate any IL that you want as long as it does the expected. You should check your generated IL using the above script as well. |
Is it OK to jump to address grater then the program size ? | |
Yes, in this case your program will be terminated. |
Does the bvm.pl script ignore white spaces ? | |
NO. The IL is very strict and you can not add or remove white spaces, It must run using the given script. Don't modify the script to fit it to your IL. For example, the following code will not work: s[0] = 5 print s[0] Because of the spaces near the assignment operator. This code will work: s[0]=5 print s[0] Make sure you don't add extra spaces in ANY command. Try checking the code you generate with all kinds of commands |
Do >= , <= operators belong to the intermediate language? | |
No. They are only part of the WEATHER language that you parse. You have to find the right translation code with < , > , == , != , in the intermediate language. |
Are there any assumptions we can make on the input program? | |
You may assume there won't be a break statement inside statements of a case within switch. |