Skip to content

Relationship of Component YAML vs. external implementation #5

Description

@natevw

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions