summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-06-18 18:43:15 +0200
committerjmoenig <jens@moenig.org>2013-06-18 18:43:15 +0200
commitacc40a6d2a06ab1fcfbd488030e091bd9215a1b2 (patch)
tree57374704c2b908df2c1d8721f8a055a0f1378d1e /byob.js
parenta7ebff7c5bb4a79b3a64441b50957e523fe686e0 (diff)
downloadsnap-byow-acc40a6d2a06ab1fcfbd488030e091bd9215a1b2.tar.gz
snap-byow-acc40a6d2a06ab1fcfbd488030e091bd9215a1b2.zip
Code mapping
generating text code from blocks, first experimental iteration
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/byob.js b/byob.js
index b9797e3..72715ad 100644
--- a/byob.js
+++ b/byob.js
@@ -105,7 +105,7 @@ CommentMorph, localize, CSlotMorph, SpeechBubbleMorph, MorphicPreferences*/
// Global stuff ////////////////////////////////////////////////////////
-modules.byob = '2013-June-06';
+modules.byob = '2013-June-18';
// Declarations
@@ -138,6 +138,7 @@ function CustomBlockDefinition(spec, receiver) {
this.spec = spec || '';
this.declarations = {}; // {'inputName' : [type, default]}
this.comment = null;
+ this.codeMapping = null; // experimental, generate text code
// don't serialize (not needed for functionality):
this.receiver = receiver || null; // for serialization only (pointer)