Japanese English

Vnano Official Website

Here is the official website of the Vnano.

| What is the Vnano ? | Trial of the Vnano | Contents in This Website |

Note: Vnano is under development, so it has not practical quality yet.


What is the Vnano ?

A Compact Script Engine for Embedded Use in Applications

The Vnano (VCSSL nano) is a compact script engine for embedded use in applications. The Vnano is currently available for Java® and Kotlin® applications.

Open source, MIT License

Vnano is developed as an open source software, and released under the MIT license.

Simple C-like Syntax

The scripting language of the Vnano has simple C-like syntax.

- Example of a script written in the Vnano -

Performances

The Vnano is developed by RINEARN, which is a (personal) software development studio in Japan developing tools for data-analysis, visualization, computation, and so on. Therefore, the Vnano focuses on the computing speed to some degree, assuming usages on the data-processing/analysis tools.

Trial of the Vnano

If the Java Development Kit (JDK) is already available on your environment, you can try using the Vnano in few minutes.

Step1. Download the Script Engine of the Vnano

At first, download the JAR file "Vnano.jar" by clicking the following button, and put it in the temporal working folder.

  • Accept license agreement (MIT license) before using. » License
  • This pre-built JAR file 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

Step2. Prepare an Example Java Application

Then, create a file "SampleExample.java" in the same folder with "Vnano.jar", and copy & paste the following code in the file.

- An Example Java Application Using Vnano -

This Java application computes "1.2 + 3.4" by using the script engine of the Vnano.

Step3. Compile and Run

Finally, "cd" to the folder in which "Vnano.jar" and the example application are, and then compile and run the application as follows:

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

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 script engine. For more detailed explanation of how to use the Vnano, see the following page:

Contents in This Website

Vnano Tutorial
The simple tutorial for using the Vnano.
API References of the Script Engine of the Vnano
API references of classes composing the script engine of the Vnano.
Source Code Repository (GitHub)
The remote repository to manage the source code of the Vnano.

Japanese English
Index
Announcement (Twitter)