Lisp interpreter made with Action Script 3.
http://www.solve-et-coagula.com/As3Lisp.html
The author talks about his work on http://www.solve-et-coagula.com/?p=8.
(
9 comments
| 24 points
| on HN
)
http://www.solve-et-coagula.com/As3Lisp.html
The author talks about his work on http://www.solve-et-coagula.com/?p=8.
Wrong. I was curious so i tested it (i've been experimenting with Flex 2). The following code outputs "blah blah":
var foo:Function = function() {}
foo.prototype.someMethod = function() { trace("blah blah"); }
new foo().someMethod();
I think the prototype syntax was kept to maintain backwards compatibility.
class foo {
}new foo().someMethod();
just different approaches to the same problem