Toit. Language for ESP32
Toit is a language for writing scripts on your computer and applications on your ESP32. A
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
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.
Write scripts, process data, and automate everyday tasks. Build command-line applications with Toit’s CLI package.
Work with sensors and peripherals. Run applications in separate containers and update them independently.
Select Toit source filenames from a list and print them in alphabetical order. Short blocks describe what to keep and what to do with each result; it refers to the current element.
Toit has classes, exceptions, and built-in types. You can start with a short script and add structure as it grows.
main: files := ["test.toit", "README.md", "main.toit"] sources := files.filter: it.ends-with ".toit"
sources.sort.do: print it
$ toit run sources.toit
main.toit test.toit
Beyond a single program
On an embedded device, your application is one part of a running system. Toit containers let you install, stop, and update applications separately.
Keep a sensor application running while you replace another application. Build services that other containers can use.
Toit is developed in the open. Contributions include programs and packages, documentation, bug reports, and changes to the language and runtime.
Full Changelog: https://github.com/toitlang/toit/compare/v2.0.0-alpha.199...v2.0.0
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。