Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Fascinating — but, as the other answers note, an utterly unreleased and unknown language. How did you ever find it in the background of that screenshot? I had to brighten the image in the GIMP to see what you were talking about.</p> <p>The dialect is slightly Pythonic — it uses <code>__init__()</code> for object initiation, and seems to have something like Python's <code>for</code> loop (though only used here with integers?) — but it borrows at least as many constructs from other languages:</p> <ol> <li>The <code>do</code> … <code>end</code> delimiters from Ruby.</li> <li>From Smalltalk and Ruby, method arguments are simply listed with whitespace separation after the method name instead of being delimited with punctuation.</li> <li>The language for some reason seems unable to handle <code>a.b.c</code> despite the order of operations having been left-to-right for such expressions at least since the release of C in around 1970. Instead this odd language makes you type <code>{a.b}.c</code> unless I misunderstand a special case here.</li> <li>Lambda functions use parens and an arrow.</li> <li>Regular expressions have direct support in the syntax, using <code>r/.../</code>.</li> </ol> <p>For those who cannot see the image clearly, here is a snippet from it showing all of the above five features (this occurs one level deep, inside curly braces whose beginning we cannot see:</p> <pre><code>def __init__(self parent: nil) do {super}.__init__ parent; self.setLayout {QGridLayout}; transform = (t) -&gt; {r/([^&gt;])\n/.sub '\]&lt;br /&gt;' t}; for c in (0 4) {self.layout}.setRowStretch c 1; for c in (0 3) {self.layout}.setColumnStretch c 1; {self.layout}.addWidget {QLabel {transform self.text}} 1 1; {self.layout}.addLayout { sublayout = {QHBoxLayout}; sublayout.addWidget {QLineEdit}; sublayout.addWidget {QPushButton '&lt;…Russian text…&gt;'}; return sublayout; } 2 1; {self.layout}.addWidget {QLabel {transform self.footer}} 3 1; end; </code></pre> <p>My wild guess is that this language compiles directly to C++, since beneath the pretty syntax I see nothing here that requires a dynamic language.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload