theodore-norvell / PLAAY

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

Interpreter arrays #138

Closed christopher-rodgers closed 6 years ago

christopher-rodgers commented 6 years ago

This is branched off my interpreter-objects branch, so make sure that is merged before this.

This contains steppers for arrays as well as the len, push and pop built ins.

Something I noticed when testing this in the editor - the len and pop built ins accept a single argument, but by default the call world node pops up two placeholders to put arguments. This means that you need to delete one of them to get it to work properly. This is not really a big deal, but it is slightly awkward so I figured I would mention this. Not sure if it worth doing anything about it at this point in time though.

theodore-norvell commented 6 years ago

Don't worry about the default number of arguments for call world nodes. I set it to zero in another pull request.