Home


Ynot is a free* scripting language (*free as in freedom).

The ynot scripts are easy to read and to write.
No more need to compile.
Runnable everywhere.

The scripts can directly use all the Java SE API (swing, sound, ...).
The project is written in Java.
All the project is built around the RDC principle.


echo("Hi, I'm Ynot.What's your name ?")
$name
 
:
readLine
()
echo
("Nice to meet you ${name}!")




USAGE 1

You can add some jar files and use them directly in your scripts.
A short example using the ►Apache Common Net FTP library.


import("org.apache.commons.net.ftp")

$ftpClient := new("FTPClient")
$ftpClient.connect("ftp.ynotscript.com")
$response := $ftpClient.getReplyString()
echo($response)


USAGE 2

Or you can add your own "words" (example: ftpConnect).
You have just to - create a new dictionary.


$ftpClient := ftpConnect("ftp.ynotscript.com")
$response := $ftpClient.getReplyString()
echo($response)


USAGE 3

Or you can manage your own syntax.
You have just to - write a tiny parser.


>> ftp.ynotscript.com
:21 ftpClient
$response := $ftpClient.getReplyString()
echo($response)