kopia lustrzana https://github.com/backface/turtlestitch
removed "tools" library, yay!
rodzic
959cccd2b8
commit
de75cc4a76
|
@ -3,6 +3,7 @@
|
|||
## in development
|
||||
|
||||
* New Features:
|
||||
* the "tools" library has been integrated as primitives
|
||||
* export 1- /2- dimensional lists with atomic data as CSV
|
||||
* export n-dimensional lists with atomic data as JSON
|
||||
* import CSV, Text, or JSON via drag & drop
|
||||
|
@ -75,6 +76,7 @@
|
|||
* Lists, Threads, Objects: new "is empty" predicate primitive in List category
|
||||
* Threads, Objects: new "numbers" constructor primitive in List category
|
||||
* Threads: renamed "aggregation" property to "accumulator"
|
||||
* GUI: removed "tools" library, yay!
|
||||
|
||||
### 2019-04-26
|
||||
* updated Catalan translation (for new HOF prims)
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
tools.xml Tools Standard library of powerful blocks (for, map, etc.)
|
||||
iteration-composition.xml Iteration, composition Traditional loop constructs (while, until, etc.) plus the Lisp "named let" (a generalization of FOR) plus functional iteration (repeated invocation of a function) and function composition.
|
||||
list-utilities.xml List utilities Some standard functions on lists (append, reverse, etc.)
|
||||
stream-tools.xml Streams (lazy lists) A variation on the list data type in which each list item aren't computed until it's needed, so you can construct million-item lists without really taking up all that time or memory, or even infinite-sized lists. (A block that reports all the prime numbers is included as an example.)
|
||||
variadic-reporters.xml Variadic reporters Versions of +, x, AND, and OR that take more than two inputs.
|
||||
httpBlocks.xml Web services access (https) An extended version of the HTTP:// block that allows POST, PUT, and DELETE as well as GET requests, allows using the secure HTTPS protocol, and gives control over headers, etc.
|
||||
word-sentence.xml Words, sentences One of the big ideas in Logo that they left out of Scratch is thinking of text as structured into words and sentences, rather than just a string of characters. This library (along with the JOIN WORDS block in the Tools library) brings back that idea.
|
||||
word-sentence.xml Words, sentences One of the big ideas in Logo that they left out of Scratch is thinking of text as structured into words and sentences, rather than just a string of characters. This library brings back that idea.
|
||||
cases.xml Multi-branched conditional (switch) Like "switch" in C-like languages or "cond" in Lisp. Thanks to Nathan Dinsmore for inventing the idea of a separate block for each branch!
|
||||
leap-library.xml LEAP Motion controller Report hand positions from LEAP Motion controller (leapmotion.com).
|
||||
textCostumes_module.xml Text Costumes Generate costumes from letters or words of text.
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<blocks app="Snap! 5.0, http://snap.berkeley.edu" version="1"><block-definition s="join words %'words'" type="reporter" category="operators"><header></header><code></code><translations>de:füge Wörter zusammen _
ca:uneix les paraules _
es:unir las palabras _
fr:fusionne les mots _
</translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doReport"><block s="reportCombine"><block s="reifyReporter"><autolambda><block s="reportJoinWords"><list><l></l><l> </l><l></l></list></block></autolambda><list></list></block><block var="words"/></block></block></script></block-definition><block-definition s="list $arrowRight sentence %'data'" type="reporter" category="operators"><header></header><code></code><translations>de:Liste $arrowRight Satz _
ca:llista $arrowRight frase _
es:lista $arrowRight frase _
fr:liste $arrowRight phrase _
</translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block-definition><block-definition s="sentence $arrowRight list %'text'" type="reporter" category="operators"><header></header><code></code><translations>de:Satz $arrowRight Liste _
ca:frase $arrowRight llista _
es:frase $arrowRight lista _
fr:phrase $arrowRight liste _
</translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportTextSplit"><block var="text"/><l><option>whitespace</option></l></block></block></script></block-definition><block-definition s="word $arrowRight list %'word'" type="reporter" category="operators"><header></header><code></code><translations>de:Wort $arrowRight Liste _
ca:paraula $arrowRight llista _
es:palabra $arrowRight lista _
fr:mot $arrowRight liste _
</translations><inputs><input type="%txt"></input></inputs><script><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block-definition><block-definition s="list $arrowRight word %'list'" type="reporter" category="operators"><header></header><code></code><translations>de:Liste $arrowRight Wort _
ca:llista $arrowRight paraula _
es:lista $arrowRight palabra _
fr:liste $arrowRight mot _
</translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></block></script></block-definition><block-definition s="%'x'" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block var="x"/></block></script></block-definition><block-definition s="numbers from %'from' to %'to'" type="reporter" category="lists"><header></header><code></code><translations>de:Zahlen von _ bis _
ca:nombres des de _ a _
es:números de _ a _
fr:nombres de _ à _
</translations><inputs><input type="%n">1</input><input type="%n">10</input></inputs><script><block s="doIf"><block s="reportGreaterThan"><block var="from"/><block var="to"/></block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block var="from"/><custom-block s="numbers from %n to %n"><block s="reportSum"><block var="from"/><l>1</l></block><block var="to"/></custom-block></block></block></script></block-definition></blocks>
|
|
@ -9,7 +9,7 @@
|
|||
<script type="text/javascript" src="src/blocks.js?version=2019-04-11"></script>
|
||||
<script type="text/javascript" src="src/threads.js?version=2019-04-27"></script>
|
||||
<script type="text/javascript" src="src/objects.js?version=2019-04-27"></script>
|
||||
<script type="text/javascript" src="src/gui.js?version=2019-04-10"></script>
|
||||
<script type="text/javascript" src="src/gui.js?version=2019-04-27"></script>
|
||||
<script type="text/javascript" src="src/paint.js?version=2019-02-22"></script>
|
||||
<script type="text/javascript" src="src/lists.js?version=2019-04-27"></script>
|
||||
<script type="text/javascript" src="src/byob.js?version=2019-02-15"></script>
|
||||
|
|
18
src/gui.js
18
src/gui.js
|
@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation, BoxMorph, MediaRecorder*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.gui = '2019-April-10';
|
||||
modules.gui = '2019-April-27';
|
||||
|
||||
// Declarations
|
||||
|
||||
|
@ -3276,22 +3276,6 @@ IDE_Morph.prototype.projectMenu = function () {
|
|||
}
|
||||
|
||||
menu.addLine();
|
||||
menu.addItem(
|
||||
'Import tools',
|
||||
function () {
|
||||
if (location.protocol === 'file:') {
|
||||
myself.importLocalFile();
|
||||
return;
|
||||
}
|
||||
myself.getURL(
|
||||
myself.resourceURL('libraries', 'tools.xml'),
|
||||
function (txt) {
|
||||
myself.droppedText(txt, 'tools');
|
||||
}
|
||||
);
|
||||
},
|
||||
'load the official library of\npowerful blocks'
|
||||
);
|
||||
menu.addItem(
|
||||
'Libraries...',
|
||||
function() {
|
||||
|
|
Ładowanie…
Reference in New Issue