I'm confused by why in the SPI example component there are code snippets like on_begin: enable_spi(self) and configure: self->SPI->CDIV = calculate_clock(clock_speed);.
Or perhaps at a higher level my question is/are/s/he:
- if the purpose of Component YAML is "simply" to describe an external C/JS/Lua/Rust/Go/OCaml/Erlang/Pascal/CommonLisp/Befunge-93/Verilog implementation in terms of a Grand Unified Theory why doesn't it just look like bindings metadata?
- if the purpose of Component YAML is "simply" to model state and available transitions thereupon, then/why isn't it just a new (or existing!) programming language that we write all our code in instead of C/JS/Lua/Rust/etc?