Open NOP0 opened 4 years ago
My first priority is to finish #27 and I should be ready to merge some time tonight. From there some future tasks are:
cranelift
, but it's a big library and I've never really used it beforerustmatic_core::Process
which can poll a rustmatic_wasm::Program
so we can run a WASM program on the runtime. This will probably require an adapter which takes rustmatic_wasm::Environment
calls and passes them through to the rustmatic_core::System
rustmatic_wasm
types directly work with/implement traits from rustmatic_core
I think our overall goal should be to get a really simple example up and running as fast as possible, allowing us to put off things which won't directly get us closer to that goal.
It's really satisfying when you have a working thing in front of you and can interact with it, whereas adding extra library functions or API flexibility just doesn't have the same appeal.
In my mind, the simplest useful example would be a program written in structured text which is executed by the runtime and toggles the state of an output (e.g. the 0'th bit of output address 0) at a frequency dictated by an input (e.g. the byte at input address 5).
EDIT: as part of #27 I made an ugly blinky.rs
program we can build on.
I think our overall goal should be to get a really simple example up and running as fast as possible, allowing us to put off things which won't directly get us closer to that goal.
100% ACK.
I guess some obvious things I can contribute towards this might be:
blinky.rs
Figure out how users will interact with the runtime (GUI program, exposing a programmatic HTTP API, REPL, etc.)
I don't know if we could use something like vscode webview to i.e. display Ladder Logic? https://code.visualstudio.com/api/extension-guides/webview
I'm currently working on the #19, #22, #29 PR's. Where to next? I guess there's some options
... and probably a lot of other stuff. It's no lack of tasks. π Are there any of these tasks that should be prioritized? Are there other tasks?
I try to have at least of couple of different topics going at the same time for variety. But like for all of us, however much I enjoy it, I have a "set" amount of time each week for this kind of stuff. π
Thoughts?