Japanese English

Vnano Official Website

Welcome to the official website of the scripting 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 Applications

Vnano (VCSSL nano) is a compact and high-speed scripting engine/language that can be embedded in Java applications. This allows you to easily implement scripting features in your apps.

Also Available for Standalone Use, Similar to Other Scripting Languages

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

Although Vnano's features are streamlined to prioritize embeddability, its operational speed is very high, making it particularly useful for calculation-intensive tasks.

Simple C-like Syntax

Vnano features a simple C-like syntax, making it easy for programmers accustomed to C or similar languages to write and read Vnano scripts.

- Example of a script written in Vnano -

Open Source, MIT License

The Vnano scripting engine is open-source software and is released under the MIT License.

How to Use

You can start using Vnano in just a few minutes. Let's get started!

Step1. Download the Vnano Engine

First, download the pre-built Vnano package by clicking the following button, and extract the ZIP file. Within the extracted folder, you will find the JAR file "Vnano.jar," which is the scripting engine of Vnano (Vnano Engine).

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

  • Please accept the license agreement (MIT License) before use. » License
  • This pre-built package is for trial purposes and may not function correctly depending on the JDK/JRE version in your environment. For more reliable usage, build the JAR file from the source code using the same JDK as your development environment.
    » How to Build

Also, if you simply want to execute Vnano scripts, similar to other scripting languages, without embedding the engine in any applications, consider installing the VCSSL Runtime instead.

Step2. Run the Example Script

Within the extracted folder, you'll find an example script file named "ExampleScript1.vnano" written in Vnano:

- ScriptExample.vnano -

This script calculates the sum of integers from 1 to 100. To run it, navigate to the extracted folder in your command-line terminal and enter the following command:

java -jar Vnano.jar ScriptExample.vnano

# Note: Running this script requires the Java Development Kit: JDK.

Additionally, if the VCSSL Runtime is installed on your PC, you can execute this script easily by launching the runtime and selecting the script. You can also run it via the command line if you have configured the path settings.

The output will display the calculated value:

5050

Step3. Example Java Application

Within the extracted folder, you'll find an example of a Java application that uses the Vnano, named "ExampleApp1.java":

- ApplicationExample.java -

This application executes a Vnano script that calculates the sum of "1.2 + 3.4".

To compile and run this application, navigate to the extracted folder and use the following commands:

javac AppExample.java
java -cp ".;Vnano.jar" AppExample     # For Windows®
java -cp ".:Vnano.jar" AppExample     # For other operating systems

# Note: Running this requires the Java Development Kit: JDK.

Be aware that the class path separators (; or :) differ between the commands for Windows and other operating systems.
The output should display:

result: 4.6

This confirms the successful computation of "1.2 + 3.4" using the scripting engine.

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

Contents of This Website

Vnano Tutorial Guide
A simple tutorial guide for using Vnano.
Specifications of Vnano Engine
Documentation on the VnanoEngine class, options, and other technical details.
Standard Plug-ins
A list and detailed specifications of standard plug-ins that provide built-in functions and variables.
Source Code Repository (GitHub)
The remote repository where the source code of Vnano is managed.

Code Written in Vnano

Various official Vnano code samples are available in the VCSSL Code Archive. These may serve as useful examples for understanding Vnano.

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 | Compute Integral Value Numerically

Example code computing integral values numerically by using rectangular method, trapezoidal method, and Simpson's rule.
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.

Japanese English
Index
News

Software Updates: Command Expansion in RINEARN Graph, and English Support in VCSSL
2024/02/05 - We updated our apps. This updates include "Enhancing the Command-Line Features of RINEARN Graph" and "Adding English Support to VCSSL." Delves into each of them!

Inside the Repetitive Execution Speedup Impremented in Vnano Ver.1.1
2024/01/17 - Delves into the update in Vnano 1.1 from a developer's viewpoint, providing detailed insights into the specific improvements made to the internal structure of the script engine.

Scripting Engine Vnano Ver.1.1 Released: Dramatic Speed Improvement for Repetitive Executions of the Same Content
2023/12/22 - Released the Vnano script engine Ver.1.1. In this version, we've made significant enhancements in processing speed by reducing the overhead of handling requests. Explains the details.

Updated Contents
Circular Wave Animation

Draws the circular wave as 3D animation, under the specified wave parameters.
2022-12-14
Sine Wave Animation

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

A GUI tool for converting the angle in degrees into radians, or radians into degrees.
2022-11-22
Connector Fatal Exception - Specification
The unchecked exception thrown when errors have occurred, caused by incorrect implementations (might be bugs).
2022-09-26
Connector Exception - Specification
The checked exception thrown when errors have occurred, cause by expected normal problems.
2022-09-26