7 ms·
I like the idea in general, but I absolutly hate it when people invent their own weird programming language instead of using a well defined existing one... Why
by TobiasJacob 3y ago
I like the idea in general, but I absolutly hate it when people invent their own weird programming language instead of using a well defined existing one...
Why not just use Python?
- speed_spread 3y agoSir, this is Hacker News.
- mawildoer 3y agoGreat question! We hope we have a few good reasons. This iteration of the project actually came after first working with and then modifying another awesome project called SKiDL (https://github.com/devbisme/skidl https://github.com/devbisme/skidl). It's based on Python - but we found that since it's procedural, turing complete and has a rich eco-system - people use to that and there aren't standard composable ways of designing things. Instead of describing your board, you (practically) write a script that generates your board. It entangles your targets with your source-code and can make it difficult to understand the ultimate outcome of what you've written. Additionally, since it's a potentially very long program, it was hard to write good language support around (a language server for VSCode, a schematic visualiser etc...) that were snappy, responsive and lent to examining modules as well as the whole program. There's a few operators and first-class language features we wanted as well, like units and tolerances (3.3V +/- 100mV) that just aren't the same when embedded in a string, or class init method.