Euphoria is an excellent interpreted language. There are
interpreters for DOS, Windows, Linux and BSD, all for i386
machines. Since ver 3.0 Euphoria become free and open source.
Where to download Euphoria for DOS
The official Euphoria website is at
www.rapideuphoria.com.
There you can download the official Windows installer that includes
interpreters for DOS and Windows. The installer needs Windows to run,
if you have a Win32 machine you can install Euphoria there and later
copy the installed files to your DOS machine. This way you can make
DOS and Windows programs.
As there is not an official a DOS release, and the Euphoria community
appear to have not interest on it. I have prepared these files:
FreeDOS Boot Floppy image + Euphoria subset. The file includes
an image of the standar emergency boot floppy of the Freedos OS, I added
the bare minimal tools you need to begin developing DOS programs with
euphoria: Interpreter for DOS, documentation as text files, functions
library, text editor and other few euphoria programs that are at the same time
programming tools and example source code.
Download 607 Kb
Euphoria for DOS. Including nice HTML
documentation, more demo programs, tutorial, translator to convert your
Euphoria programs in C, DOS C libraries for DJGPP and Watcom to compile the
translated code, modified Allegro library, shroud to produce intermediate
language .il file (a kind euphoria binary p-code), bind to attach .il to
interpreter and produce stand-alone program. Download 2400Kb
The file you get contains documentation. Only some quick start notes.
The interpreter EX.EXE is an stand-alone program, a really portable application
that don't need any aditional library or binary file or be on an specific directory
to run. So, if you write a Euphoria program that use only the core built-in
functions (no library functions), you don't need anything else to run your program.
But by sure you would want to use the complementary function libraries, documentation,
and some aditional tools to simplify your life. All those files need to be installed
in the rigth location so the interpreter can locate the resources and you will not
need to type the complete file paths anytime you use them.
Steps to setup your Euphoria system
If you get the floppy image you dont need to install anything. Boot the floppy
image on a real floppy or runing from hard disk a virtual machine. The real floppy
is a toy or an emergency tool, you will discover soon that the euphoria
interpreter is a big file, and the load time is long. After the load time the
program may run at good speed. So, if you have a DOS system with hard drive, I suggest
you to copy there the file at the a:\euphoria\ directory. You can follow the next
steps.
From the zip or from a floppy, the steps to install at hard disk are:
First, copy or unzip all contents to your favorite location. The traditional
location is C:\EUPHORIA, so I will use it as example. You can change the
name of the directory but please, keep unmodified the internal tree structure, or you
will need to do a lot of small fixes later.
Add this lines to your autoexec.bat (Adjust to your path)
set eudir=c:\euphoria
set PATH=c:\euphoria\bin;%PATH%
Obviously, PATH point to the location of interpreter and other
executable tools. EUINC point to the main euphoria directory, so any
file may be found if you keep the internal structure.
Optional, if you use any file browser you can associate the extension
.EX to be opened with EX.EXE (To execute) or to ED.BAT to edit
(both at \BIN), also is good to associate .E (function library)
to ED.BAT for quick edit.
Remember restart your system.
The first things you must to read:
\doc\overview.doc
\doc\what2do.doc
\readme.doc
\bin\bin.doc
To move files between the virtual floppy and a Win32 machine
without create a real floppy disk use the program VDK (links below).
This program loads the image file as virtual removable disk. Quick guide to use:
Mount with: VDK * euphoria.img /rw
Unmount with: VDK stop (Unmount all the virtual disks and stop VDK program.)
VDK Virtual DisK Driver for Windows NT platform. Enables to access from Windows machine a
virtual disk file, as VMware, raw disk dump as created with Linux dd command.
Is great to interchange files between Virtual Machine and Windows. The file is mounted as an
external disk and can be used by any windows program. Can mount ext2 images, but windows can't
use this filesystem.
http://chitchat.at.infoseek.co.jp/vmware/vdk.html