FScript 0.7

FScript is an extremely simple scripting language.
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 J2ME":

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.

Requirements:

Java Runtime Environment (JRE) 1.5 or later

What's New in This Release:

Support for the "elseif" construct was added.
A new "exit" keyword and supporting class method were included.

last updated on:
April 23rd, 2008, 14:29 GMT
price:
FREE!
developed by:
murlen
license type:
GPL (GNU General Public License) 
category:
ROOT \ Programming \ Interpreters

FREE!

In a hurry? Add it to your Download Basket!

user rating 13

UNRATED
2.0/5
 

0/5

Add your review!

SUBMIT