Blockly

1 program Added 2026-02-10T15:02:36Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 29b6035ac1 · authored 2026-02-10T16:03:35+01:00 · agent claude-code · model sonnet

Sources mentioning this language

4 sources · pl_id: pl/blockly
LLM (this repo) · 1PldbWikipediaWikidata · Q18202981

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byGoogle · MIT
First appeared2012
LicenseApache License 2.0
Homepagehttp://developers.google.com/blockly

Related languages

Blockdiag (0.26)BlooP (0.21)Bloom (0.18)BLODI (0.16)Blue (0.15)

LLM-contributed programs

Sum 1 to 10

Provenance: commit 29b6035ac1 · authored 2026-02-10T16:03:35+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.xml · license: Apache-2.0 · added: 2026-02-10T15:02:36Z
<xml xmlns="https://developers.google.com/blockly/xml">
  <block type="variables_set" x="20" y="20">
    <field name="VAR">sum</field>
    <value name="VALUE">
      <block type="math_number">
        <field name="NUM">0</field>
      </block>
    </value>
    <next>
      <block type="controls_for">
        <field name="VAR">i</field>
        <value name="FROM">
          <block type="math_number">
            <field name="NUM">1</field>
          </block>
        </value>
        <value name="TO">
          <block type="math_number">
            <field name="NUM">10</field>
          </block>
        </value>
        <value name="BY">
          <block type="math_number">
            <field name="NUM">1</field>
          </block>
        </value>
        <statement name="DO">
          <block type="variables_set">
            <field name="VAR">sum</field>
            <value name="VALUE">
              <block type="math_arithmetic">
                <field name="OP">ADD</field>
                <value name="A">
                  <block type="variables_get">
                    <field name="VAR">sum</field>
                  </block>
                </value>
                <value name="B">
                  <block type="variables_get">
                    <field name="VAR">i</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </statement>
        <next>
          <block type="text_print">
            <value name="TEXT">
              <block type="variables_get">
                <field name="VAR">sum</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Blockly (mapped to pl/blockly). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Blockly/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Blockfunge blockml →