LANGUAGES

VVL.

Nicolas Korboulewsky's language, the one that runs Tekitisy's assistants, on a TO2026 cartridge. Everything is a list between brackets, everything is a value, and the shortest program fits on one line.

# a function, a list, a transformation
[keyword square [x] ($x * $x)]
$squares = [map [lambda [n] [square $n]] [range 5]]
[say "The squares:" $squares]

# a dictionary, read by its path
$city = <{"name": "Cite", "districts": ["North", "South"]}>
[say "${city.name}, district 2: ${city.districts.2}"]

Try it

  • In the machine, choose the VVL cartridge
  • Type an expression: it answers at once
  • A bracket left open waits for the next line
  • RUN "3:BONJOUR" and RUN "3:ROSACE" start the samples
  • EDIT opens the editor, with VVL's colours
  • SAVE and LOAD write .VVL files

The language

  • The same as on Tekitisy, compared answer by answer on 249 expressions
  • Lists, dictionaries, JSON and XML in the text
  • lambda, keyword, map, filter, reduce
  • if, while, for, switch, try
  • Text, regular expressions, dates, conversions
  • httpGet and httpPost, with the network extension

The machine

  • [say], [print], [prompt], [question]
  • [pset], [line], [boxf], [circle], [rgb], [gtext]
  • [inkey], [keydown], [mousex], [vbl], [flip]
  • AI ON at the prompt: the machine's AI, by keyboard and the synthesiser's voice. AI OFF cuts it
  • MODE DARK, MODE LIGHT, MODE NORMAL at the prompt, [mode "dark"] in a program: the colour scheme
  • [beep], [play], [speak]
  • [readFile], [writeFile], [files], [drive]
  • [basic "SPRITE 1,50,60"] opens all the rest

What does not come from Tekitisy

[§ "phrase"] makes a semantic value (§"phrase" is its shorthand), as in "chat" == [§ "cat"]. Meaning, [ask], [agent] and the semantic operators go through the site's language model. You need to be signed in with ProAdmin: [basic "PROADMIN ON"]. Each account gets a welcome credit, each call debits it, and [credit] gives the balance in cents. A question already asked costs nothing. The text sent to the model leaves the machine: keep confidential data out of it (see Privacy). An assistant's graphs ([sub], [goto], [dialog], widgets) stay on Tekitisy. On the machine, [while] has no ceiling, since the Break key stops a program.