Euphoria

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

Euphoria is a free (open source), simple language designed for Rapid Application Development. It is a blend of C like language and lisp like language. Like lisp it manage memory allocation, as a high level of abstraction and is mostly a functional language in nature. Its sequence data structure ressemble lisp list (or logo list). It is interpreted, but can be bound as an executable, or, alternatively, the sources can be converted to C for compilation. It's cross-platform between DOS, Windows and Linux with many useful libraries for application creation available.

There are also OpenGL, DirectX, Audio (various formats) and other libraries that are suitable for many levels of Games development.

An Example - using the Win32Lib library

include win32lib.ew

constant 
 win = create(Window,"A Window",0,Default,Default,500,400,0),
 label = create(CText,"Hello World",win,100,50,300,300,0)

WinMain(win,Normal)


The above example simply creates and opens window and places a piece of text in it. Nothing special, but the resultant saving of the above code in a file eg. mywin.exw, will allow you to double-click and run it immediately. Editing is simply a case of loading the file into a text editor (eg. Notepad,UltraEdit) and changing it. There is no compilation or other messy stuff :) before running it.

Though it can be 'compiled' into an executable, redistributable file (that requires no Euphoria specific extra DLL's or anything) such as an .exe - these are typically quite small as well.

External Links