From acc40a6d2a06ab1fcfbd488030e091bd9215a1b2 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 18 Jun 2013 18:43:15 +0200 Subject: Code mapping generating text code from blocks, first experimental iteration --- byob.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'byob.js') 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) -- cgit v1.3.1