{ "HIGHLIGHTSTROKECOLORS": [ [ "logic", "#000000" ] ], "ARGPLUGINS": [ [ "myxor", "var block = logo.blocks.blockList[blk];var conns = block.connections;block.value = logo.parseArg(logo, turtle, conns[1]) >> logo.parseArg(logo, turtle, conns[2]);" ], [ "myand", "var block = logo.blocks.blockList[blk];var conns = block.connections;block.value = logo.parseArg(logo, turtle, conns[1]) & logo.parseArg(logo, turtle, conns[2]);" ], [ "myor", "var block = logo.blocks.blockList[blk];var conns = block.connections;block.value = logo.parseArg(logo, turtle, conns[1]) | logo.parseArg(logo, turtle, conns[2]);" ], [ "mysl", "var block = logo.blocks.blockList[blk];var conns = block.connections;block.value = logo.parseArg(logo, turtle, conns[1]) << logo.parseArg(logo, turtle, conns[2]);" ], [ "mysr", "var block = logo.blocks.blockList[blk];var conns = block.connections;block.value = logo.parseArg(logo, turtle, conns[1]) >> logo.parseArg(logo, turtle, conns[2]);" ], [ "mynot", "var block = logo.blocks.blockList[blk];var conns = block.connections;block.value = ~ logo.parseArg(logo, turtle, conns[1]);" ] ], "PALETTEHIGHLIGHTCOLORS": [ [ "logic", "#FF9FFF" ] ], "PALETTEPLUGINS": [ [ "logic", "0110" ] ], "BLOCKPLUGINS": [ [ "myxor", "var LogicTwoArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.twoArgMathBlock(); block.defaults.push(1); block.defaults.push(1);};var LogicArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.oneArgMathBlock(); block.defaults.push(0);};LogicTwoArgBlock('myxor', 'XOR');" ], [ "myand", "var LogicTwoArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.twoArgMathBlock(); block.defaults.push(1); block.defaults.push(1);};var LogicArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.oneArgMathBlock(); block.defaults.push(0);};LogicTwoArgBlock('myand', 'AND');" ], [ "myor", "var LogicTwoArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.twoArgMathBlock(); block.defaults.push(1); block.defaults.push(1);};var LogicArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.oneArgMathBlock(); block.defaults.push(0);};LogicTwoArgBlock('myor', 'OR');" ], [ "mysl", "var LogicTwoArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.twoArgMathBlock(); block.defaults.push(1); block.defaults.push(1);};var LogicArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.oneArgMathBlock(); block.defaults.push(0);};LogicTwoArgBlock('mysl', '<<');" ], [ "mysr", "var LogicTwoArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.twoArgMathBlock(); block.defaults.push(1); block.defaults.push(1);};var LogicArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.oneArgMathBlock(); block.defaults.push(0);};LogicTwoArgBlock('mysr', '>>');" ], [ "mynot", "var LogicTwoArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.twoArgMathBlock(); block.defaults.push(1); block.defaults.push(1);};var LogicArgBlock = function (name, label) { var block = new ProtoBlock(name); block.palette = palettes.dict['logic']; blocks.protoBlockDict[name] = block; block.staticLabels.push(label); block.adjustWidthToLabel(); block.oneArgMathBlock(); block.defaults.push(0);};LogicArgBlock('mynot', 'NOT');" ] ], "PALETTEFILLCOLORS": [ [ "logic", "#ff00ff" ] ], "PALETTESTROKECOLORS": [ [ "logic", "#C700D3" ] ] }