Japanese English

Vnano Official Website

Here is the official website of the script engine/language "Vnano".

| What is the Vnano ? | How to Use | Tutorial Guide | Engine Specifications | Standard Plug-ins | Code Written in the Vnano |

What is the Vnano ?

A Compact Scripting Engine/Language, Embeddable in Java Apps

The Vnano (VCSSL nano) is a compact and high-speed scripting engine/language. The engine is embeddable in Java applications, so you can implement scripting feature on you apps easily.

Also Available Independently, Like as Other Scripting Languages

You also can execute Vnano scripts on your PC by introducing the runtime environment.

Features of Vnano are not rich because it places importance on embeddability, but its operating speed is very high, so it may be useful for calculation purposes and so on.

Simple C-like Syntax

The Vnano has simple C-like syntax, so many programmers using C ot C-like languages can write/read Vnano scripts very easily.

- Example of a script written in the Vnano -

Open source, MIT License

Tne scripting engine of the Vnano is an open source software, and released under the MIT license.

How to Use

You can try using the Vnano in few minutes. Let's try!

Step1. Download the Scripting Engine of the Vnano

At first, download the pre-built package of the Vnano by clicking the following button, and extract the downloaded ZIP file. In the extracted folder, a JAR file "Vnano.jar" exists. It is the scripting engine of the Vnano (Vnano Engine).

- Download the Scripting Engine of the Vnano (For Embedding in Your Apps) -

  • Accept license agreement (MIT license) before using. » License
  • This pre-built package is for trials, so it may not work well, depending on the version of JDK/JRE in your environment. For more practical use, build the JAR file from the source code, on the same JDK used for developing the application.
    » How to Build

Also, if you only want to execute Vnano scripts (like as other scripting language) without embedding the engine in any apps, introduce the VCSSL Runtime instead of the above.

Step2. Run the Example Script

In the extracted folder, an example script file "ExampleScript1.vnano" written in the Vnano is bundled:

- ScriptExample.vnano -

The above script calculates the sum of integers from 1 to 100. To execute the above script, "cd" to the extracted folder on the command-line terminal, and input the following command:

java -jar Vnano.jar ScriptExample.vnano

(Requires the Java Development Kit: JDK)

Also, if the VCSSL Runtime has been introduced in your PC, you can run the above script easily, by launching the runtime and choosing the script (also can execute by the command-line if you did the path setting).

Then the calculated value will be output:


Step3. Example Java Application

In the extracted folder, an example code of a Java application using Vnano "ExampleApp1.java" is bundled:

- ApplicationExample.java -

The above app execute a Vnano script calculating the value of "1.2 + 3.4".

Let's "cd" to the extracted folder, and compile/run the application as follows:

javac AppExample.java
java -cp ".;Vnano.jar" AppExample     (For Windows®)
java -cp ".:Vnano.jar" AppExample     (For other OSes)

(Requires the Java Development Kit: JDK)

Note that separator-characters ( ; or : ) of class-paths are different between the above two commands.
The result is:

result: 4.6

As the above, we successfully compute the value of "1.2 + 3.4" on the scripting engine.

For more detailed explanation of how to use the Vnano, see the following page:

Contents in This Website

Vnano Tutorial Guide
The simple tutorial guide for using the Vnano.
Specifications of Vnano Engine
The specification document of VnanoEngine class, Options, and so on.
Standard Plug-ins
List and specification documents of standard plug-ins providing built-in functions/variables.
Source Code Repository (GitHub)
The remote repository to manage the source code of the Vnano.

Code Written in the Vnano

Some official code written in the Vnano are distributed on the VCSSL Code Archive. They might be useful as example code of the Vnano, contents for software equipped with the Vnano, and so on.

Fizz Buzz Program

A program printing the correct result of Fizz Buzz game.
Vnano | Solve The Lorenz Equations Numerically

Solve the Lorenz equations, and output data to plot the solution curve (well-known as the "Lorenz Attractor") on a 3D graph.
Vnano | Output Data of Numerical Integration For Plotting Graph

Example code computing integrated values numerically, and output data for plotting the integrated functions into graphs.
Vnano | Compute Integral Value Numerically

Example code computing integral values numerically by using rectangular method, trapezoidal method, and Simpson's rule.

Japanese English

Updated the Scientific Calculator "RINPn": Added a Retractable Key-Panel, etc.
2022/11/11 - We have updated the scientific calculator app &quto;RINPn" to Ver.0.9.4. Explains the details of the changes by this update.

Updated RINEARN Graph 3D: Fixed Bugs About "Reverse X/Y/Z" Options, etc.
2022/11/03 - We have released RINEARN Graph 3D Ver.5.6.30, containing some bug fixes. Explains the details of the fixed bugs.

Updated Applications
2022/10/12 - We have released the new versions of some applications. Explains the changes by this updates.

Updated Contents
Sine Wave Animation

Draws the sine wave as animation, under the specified wave parameters.
Tool For Converting Units of Angles: Degrees and Radians

A GUI tool for converting the angle in degrees into radians, or radians into degrees.
Connector Fatal Exception - Specification
The unchecked exception thrown when errors have occurred, caused by incorrect implementations (might be bugs).
Connector Exception - Specification
The checked exception thrown when errors have occurred, cause by expected normal problems.
String Scalar Data Accessor Interface 1 (Bool SDAI1) - Specification
The data I/O interface for accessing to character-string-type scalar data.
Announcement (Twitter)