Toit v2.0.0 (toit.io)
draven 3 hours ago
ilvez 2 hours ago
no_time 2 hours ago
DNS blackhole the domain and run.
unsnap_biceps 2 hours ago
> According to Denmark's Central Business Register, Toitware ApS ceased operating in 2024.[9] Development of the language continues as a community project on GitHub.
Seems unlikely to be a bait and switch at this point
no_time 2 hours ago
heavensteeth 31 minutes ago
There's already another syntax example in the thread, but I want to point out the weirdest syntax I've seen yet: positional arguments look like posix command arguments:
greet name/string="World" --greeting/string="Hello" -> string:
return "$greeting $name"
main:
print (greet) // Prints Hello World.
print (greet "Ada" --greeting="Hi") // Prints Hi Ada.kasperl 17 minutes ago
https://docs.toit.io/language/beginner/lists-and-functions/#...
The name argument is positional here.
thomascountz 3 hours ago
Toit is a language for writing scripts on your computer and applications on your ESP32. A readable syntax, an efficient runtime, and tools that work together.
Free and open source. Maintained by volunteers.skrebbel 3 hours ago
self an hour ago
jacobgorm 3 hours ago
MrBuddyCasino 3 hours ago
Imustaskforhelp 3 hours ago
jimbob45 2 hours ago
latexr 33 minutes ago
vanderZwan 2 hours ago
Because if not, that might explain the lack of marketing around it.
floitsch 2 hours ago
maxloh 3 hours ago
Nice syntax. It looks like how we'd design programming if C had never existed.
add a/int b/int -> int:
return a + b
main:
print (add 2 3) // Prints 5.benrutter 2 hours ago
Most importantly though (/s), is this toit as in "roof" in French, toit as in "to it", or otherwise?
floitsch an hour ago
"toit like a tiger"
benrutter 30 minutes ago
_s_a_m_ 11 minutes ago
vim-guru 2 hours ago
mi_lk 3 hours ago
qweqwe14 4 minutes ago
Hamuko 2 hours ago
ricardobeat an hour ago
qweqwe14 5 minutes ago