AL(Z)-Int, an Interpreter for AL(Z) programs



The program is here. You need SWI Prolog to run it.

To step through a program:
      pl -s alzint.pl -g step
    

To run a program without user interaction:
      pl -s alzint.pl -g run
    

In both cases, you are asked to select a file containing an AL(Z) program (the dialog requires XPCE). You can also specify a file on the command line like this:
      pl -s alzint.pl -g "run('ex1.txt')"

      pl -s alzint.pl -g "step('ex1.txt')"
    

Example files are here, here and here.

A transcript of running ex3.txt is here.


Main page