FScript 1.17

FScript is a very simple embedded scripting language for Java.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
2.3/5 17
DEVELOPED BY:
murlen
HOMEPAGE:
fscript.sourceforge.net
CATEGORY:
ROOT \ Programming \ Interpreters
FScript is an extremely simple scripting language. Its intended use is as an embedded language in other Java programs. It is very simple to embed - it can be as simple as sub-classing one class to add your own functionality. However is not a complete programming language, as it has no library of standard functions (such as IO and string processing). It supplies a base functionality (such as flow control, variable handling and basic math operations) that can extended by the host application.

As of version 1.1 it is possible to access Java objects from within a FScript script(in some ways similar to what can be done with Jython), this increases the number of potential applications for FScript considerably

For a good complete embedable programming language I suggest you look at:

jython - an implementation of the excellent Python language in Java.
Rhino - an implementation of JavaScript in Java.

Both of these are also fully embedable, and have sane licenses.

FScript however is around 30k as a jar file, and is only a few thousand lines of source. So if the functionality you are looking for is more than a simple configuration file parser, but less than a full blown programming language FScript could be for you.

Here are some key features of "FScript":

Three supported data types (string,integer,double)
Conditional execution ('if' statements)
Loops ('while')
Functions (including recursive functions)
Local & global variable scope
The usual range of logic and math operators.

FScriptME is a version of FScript tailored to the J2ME environment. It is still in beta, but is based on FScript code and as such should be fairly stable. It is suitable for implementing a simple scripting language on small/embedded devices.

What's New in This Release:

Minor fixes to improve error reporting

Last updated on June 24th, 2005

#scripting language #embedded scripting language #FScript #embedded #scripting #language

Add your review!

SUBMIT