Building your own Isis interpreter

Once you have mastered the basics of the language and want to write your own external routines and use them inside of Isis, you are ready to build your own private version of the Isis interpreter. You also need a private interpreter to use certain external libraries available for Isis. The following are exact step-by-step instructions that should take you less than 5 minutes to complete.

  1. If you have not already done so, install Isis on your machine.

  2. Create a new folder where your private interpreter's source code will reside.

  3. Copy one of the following pairs of Makefiles and source code templates to this folder. Be sure the Makefile is actually named Makefile with a capital M. The source file can be named anything you wish but it is typically called main.c.

  4. Edit the Makefile. You will have to enter a name for your interpreter on the PROGNAME line, the name of your source code (typically main.c) file on the SRCS line. It is probably a good idea to not call your program isis so it can be distinguished from the master installed version.

  5. To actually make the program, simply type:
    You may now type the program name in your shell and use the interpreter!

  6. To install the program in the master Isis bin directory so that it is accessible inside of any folder or to others who use your machine, type:
    make install
    If it is the first time you have ever installed the program, you must also enter the command rehash to force your shell to look for newly installed programs. You should now be able to use your private interpreter from within any folder!

  7. If you ever want to remake the entire program from scratch, erasing any old intermediate files from previous compilations, type:
    make clean install