Re:Show HN: Atopile – Design circuit boards with code
by Timot05 on Monday February 05, 2024 @02:18PM
(#39265671)
Our language is also a markup language more than a programing language. The goal here is that we would want the code to become a description of what the circuit is, instead of how to obtain it. The obtaining part is the job of the compiler. Not the human.
[ Parent
| on HN ]
Re:Show HN: Atopile – Design circuit boards with code
by yoz on Monday February 05, 2024 @06:44PM
(#39268775)
Please forgive me if you know this already, but just in case: the terms Declarative and Imperative may be useful here.
Declarative: the code describes the desired result.
Imperative: the code describes the operations to take.
Most programming languages are Imperative, but some are Declarative, and some allow a mix of the two. More here: https://www.educative.io/blog/declarative-vs-imperative-prog...
Re:Show HN: Atopile – Design circuit boards with code
by Timot05 on Tuesday February 06, 2024 @02:07AM
(#39271631)
Thanks for sharing the docs! Our language is mostly declarative at the moment. There are some features we discussed that would be imperative and we might introduce them in future versions of the compiler.