|
|
@ -1,4 +1,4 @@
|
|
|
|
# LED Strip VM
|
|
|
|
# LED Strip VM ![](https://img.shields.io/discord/729250668162056313)
|
|
|
|
|
|
|
|
|
|
|
|
A virtual machine for controlling a wifi led strip.
|
|
|
|
A virtual machine for controlling a wifi led strip.
|
|
|
|
|
|
|
|
|
|
|
@ -68,4 +68,4 @@ The runtime works in three stages.
|
|
|
|
1. Connect to the led strip
|
|
|
|
1. Connect to the led strip
|
|
|
|
2. Parse the bytecode into a vector of tokens
|
|
|
|
2. Parse the bytecode into a vector of tokens
|
|
|
|
- if the instruction creates a label, add the label to the map of labels
|
|
|
|
- if the instruction creates a label, add the label to the map of labels
|
|
|
|
3. Execute the token vector
|
|
|
|
3. Execute the token vector
|
|
|
|