V2.1.1 compatible with Processing 2 & 3.

A powerful yet simple to use scripting language that can be used to evaluate expressions and simple algorithms. In fact it is the only evaluator I know that supports complex numbers and vectors without the need for additional configuration. The emphasis is on simplicity and extensibility and the website provides detailed guides to help you get the most of QScript.

It supports variables, selection (IF-THEN-ELSE) and repetition (WHILE-WEND and REPEAT-UNITL). All the commonly used functions found in Java's Math class are implemented and can easily be extended with user defined functions.

Although the download is packaged as a Processing library it does not require Processing, in fact QScript has no third party software dependencies only needing Java.

Features

  • evaluate mathematical expressions
  • uses standard order of precedence
  • handles + and - unary operators used with numbers
  • includes all commonly used mathematical symbols and functions
  • evaluates scripts with multiple expressions and over multiple lines
  • supports use of variables
  • supports integer and floating point types and calculations
  • supports string data type and string concatenation, including mixed types
  • syntax checking and reporting
  • scripting errors found during evaluation are reported
  • user can decide how errors are handled
  • sends scripting events as the script executes / evaluates
  • includes simple conditional statement (IF THEN ELSE)
  • includes DO-WHILE and REPEAT_UNTIL loop constructs.
  • user defined operators and functions can added to those already available
  • user defined scripting events can be created and added to those already available
  • long scripts can be evaluated in a separate thread
  • support for scripting game objects
  • small footprint <140k in size

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow QScript

QScript Web Site

Other Useful Business Software
Your top-rated shield against malware and online scams | Avast Free Antivirus Icon
Your top-rated shield against malware and online scams | Avast Free Antivirus

Browse and email in peace, supported by clever AI

Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of QScript!

Additional Project Details

Registered

2013-07-23