Hi. I have a homework-assignment where one of the tasks is to make a static Analyzer for BIPL-E, BIPL-E being the BIPL Language with input- and output-parameters.
The Analyzer is supposed to
You can do this by traversing each statement in the program to check if it uses values that
haven’t been defined before. You can keep track of which variables that has been defined so far in a list, and put new ones to the list when you encounter Assign-statements
As a start:
static_analyzer :: BIPLE -> ..
..
Best regards,
Eirik
Sendt fra E-post for Windows 10