[WIP] Objective-Scratch Library & Demo

Draft
  scripts
  sprites
See inside
Instructions

This is a very early prototype/demo of my OOP library for scratch. Currently, only standard variables are supported, but I will be adding much more interesing data structures in the future, such as (multidimensional) arrays, linked lists and objects.

Have a look inside to see what's going on. I am only running a simple test program.

Notes and Credits

Variable names are mapped to "memory" locations using a hash table, which is also stored in the memory list.

Changelog:
- Now using memory management system suggested by @joefarebrother in https://scratch.mit.edu/discuss/topic/197431/?page=1#post-1963927
- Added simple benchmark. Conclusion: very slow (~5ms per library block).
- Fixed bug in hash algoritm (Damn zero indexing).

Shared: 6 May 2016 Modified: 8 May 2016
Favorite this project 4
Love this project 11
Total views 81
View the remix tree  1
  
More projects by novice27b