theodore-norvell / PLAAY

Senior Design Project PLAAY (Programming Language for Adults And Youth)
2 stars 0 forks source link

Rename and refactor #57

Closed theodore-norvell closed 7 years ago

theodore-norvell commented 7 years ago

Refactoring:

Finally eliminated circular dependence by creating an interpreter module interpreter depends on vms vms depends on valueTypes valueTypes depends on labels (because closures point to a Lambda node) but labels does not depend on the interpreter.

Note that the vms uses the interpreter, but we use dependency injection so that that the vms does not depend on the interpreter.

The old interpreter stuff is in a text file called old-pnode.txt. This is mostly crap, I think. I'd really rather that it be rewritten with due care to error cases.

Renaming: Changed the names of several top level modules. Now called main, editor, and animator.

Also renamed the .css file, the html file and the JavaScript file. These are now plaay-style.css, plaay.html and plaay.js.

Other things:

Eliminated labels for turtle operations. This no doubt breaks things that will need to be fixed later.

Deleted some unused typscript and html files.