Instrucciones y demostración: Compilador de P-Lingua

The next points are some instructions to install and test the P-Lingua compiler under Linux or Windows.

  • Be sure that you have installed the Java Virtual Machine 1.6.0 or better, for that, you can write
    at the prompt line:

    user@machine:~$ java -version

    Information about your JVM must be shown:

    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)

    If the JVM is not installed, please, follow the instructions at
    the official web page of Java to download it .

  • Download the P-Lingua command-line tools from the Applications section
  • Uncompress the file:

    For instance: under Linux:
    user@machine:~$ tar xvf "commad-lne-tools.tar.gz"

  • Acces to the "bin" subdirectory:

    user@machine:~$ cd "bin"

  • Download the example P-Lingua program SAT.PLI from the examples section
  • Save the file SAT.PLI in the same directory "bin", and try to compile it:

    Under Linux:
    user@machine:~$ ./plingua sat.pli -xml sat.xml -v 5
    Under Windows:
    plingua -xml sat.xml -v 5

  • An XML file will be generated