FLIP

FLIP stands for Forth-Like Interpretive Program.

The interpreter was written by students and faculty at the Community and Technical College on the campus of West Virginia State University. ( www.wvstateu.edu ) The program was developed in the 1980's as a DOS-based program to teach computer skills and to provide a way to interface with three robots donated to the school. It is written in 100% assembly language and runs on ANY IBM type machine (even an 8086.) Of course, it will run in a DOS window on XP. I assume it will run on Vista, but I don't have access to such a machine to test it. This is the first time access has been given to the public, so it will not be found on any public download forums. The CD or a Floppy Disk has:

The interpreter has full 18 significant digit floating point math. Float numbers are manipulated on a ten level float stack. There is also a ten number 2-byte integer stack. Built-in graphics allows 640 x 350 pixels x 16 colors.

The forth root words (commands) supported by FLIP are:

.S . + - * / D* D/ CR .F F. F+ F- F/ DUP FDUP DROP FDROP SWAP FSWAP
“ TYPE LEN CLS \ ( FVARIABLE VARIABLE F! F@ ! @ F? ? IF JUMP 0< 0= 0>
F0< F0= F0> < = > F< F= F> F0~ NOT AND OR XOR ROT FROT PICK FPICK : ;
STOP SKIP DO LOOP +LOOP I J K UNDO BEGIN AGAIN UNBEGIN ACCEPT EXECUTE
EMIT SPACE SPACES 1+ 1- INC DEC FINT F>N N>F KEY FSQRT F10^X FE^X FLOG10
FLN FTAN PI FD2R FR2D FATAN FSIN FCOS ABS FABS NEG FNEG FEMPTY EMPTY CLEAN
DEPTH FDEPTH PLACES FPLACES FGCOLOR BGCOLOR INCOLOR COLD LIST LOAD +LOAD
WORDS H. AT-XY TRUE FALSE BYE MEM ALLOT FALLOT PUSH POP FPUSH FPOP EPSILON!
EPSILON@ FCONSTANT CONSTANT VLIST , F, TEE-ON TEE-OFF GRAPHICS PLOT TEXT
FORGET FATAN2 MOD FACOS FASIN FPWR FCUBRT FSINH FCOSH FTANH FATANH LINE
EXIT NUMBER FNUMBER STRING FSTRING CIRCLE PAD! PAD@ FREE PAD C! C@ ‘ DROP2
FDROP2 +SPACES SLICE CONCAT UPPER LOWER BLACK DARKBLUE DARKGREEN DARKCYAN
DARKRED DARKMAGENTA BROWN GREY DARKGREY BLUE GREEN CYAN RED MAGENTA YELLOW
OPEN-FILE CLOSE-FILE WRITE-FILE READ-FILE TAB LOCATE READ WRITE APPEND
TRACE-ON TRACE-OFF E. EPLACES ESTRING .P G. L. FONT XORGR-ON XORGR-OFF
SYSTEM W@ W! REPARSE >> << ERROR-ON ERROR-OFF CLEAR-MEM FREE
The school has decided to no longer offer the course in which this program was developed and used. There are no copyrights or licenses involved. It is now offered as shareware.

Unzip all the files to a directory of your choice on your hard drive. Then open up Windows Explorer and display the current directory.

Run the FLIP.EXE program (double click on its icon). When the program comes up and gives you the little triangle prompt, enter LOAD XXXXXX and press enter, where the X's stands for the filename as explained in the webpages.
UPDATE: Vista users MUST double click on the FLIPV icon to run the interpreter.

Below are screen shots --


Interpreter listing the file julian.4


Interpreter output of file jdtest.4


Interpreter output of "word" (program sequence) sinewave in file gpltsine.4


Browser output of a portion of the tutorial


Right click here and select "save link as" to download the software.
You will need a zip decompression program to install the software into any directory you wish on your hard drive. You can get the decompression software by going to download.com and typing "unzip" in the search box.