-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ynotscript edited this page Apr 12, 2011
·
3 revisions
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}!")
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)
Or you can add your own "words" (example: ftpConnect). You have just to - create a new directory.
$ftpClient := ftpConnect("ftp.ynotscript.com")
$response := $ftpClient.getReplyString()
echo($response)
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)
Official web site: http://www.ynotscript.com