JVM Languages
bobnuon.txt
Associated article: Bob Meets NUON
Tags: C/C++ JVM Languages
Published code accompanying the article by David Betz in which he examines how Bob--a dynamic object-oriented language with syntax similar to C/C++, Java, and JavaScript--and is being used in NUON, a hardware/software platform for DVD players and set-top boxes. Also see BOB.ZIP.
Bob Meets NUON
by David Betz
Listing One
///////////
// Hazzard
Hazzard = new Object();
define Hazzard.initialize(cave)
{
this.location = cave;
cave.AddHazzard(this);
return this;
}
define Hazzard.Move(cave)
{
if (this.location != cave) {
this.location.RemoveHazzard(this);
this.location = cave;
cave....


