.NET
pnuts.txt
Associated article: Scripting for Pnuts
Tags: .NET
Published source code accompanying the article by John H. McCoy in which he examines Pnuts--a language, API, and interpreter that provides a thin procedural wrapper with an interactive interface for manipulating Java objects. Also see PNUTDEMO.ZIP.
Scripting for Pnuts
by John H. McCoy
Example 1:
(function(){catch(FileNotFoundException, function(e) error(e))
if (!f.exists()){
throw(FileNotFoundException(f.getPath()+" not found"))}
})()
Example 2:
b1=JButton("Test")
bind(b1,"actionPerformed",function(e) println(&...


