-
Notifications
You must be signed in to change notification settings - Fork 0
An adaptation of the dodo object model to Javascript
jido/Dodo.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project is an attempt to adapt the dodo object model to Javascript Dodo home: http://dodo.sourceforge.net Translation table: Dodo | Javascript _________________________________|________________________________ | struct | struct | self | this | new var0(x: 1) | copy(var0, {x: 1}) | new var0 {def z = 36} | extend(var0, {z: 36}) | ^func | $func | class A {def col="blue"} | var A = Create(class, "A", {col: "blue"}); | class B {B(n) {print(n)}} | var B = Create(class, "B", {$init: function(n) {print(n);} | }); | def C = new A {def p = 0} | var C = Create(A.instance, "C", {p: 0}); | B(1000) | B(1000) |
About
An adaptation of the dodo object model to Javascript
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published