Skip to content

Functional MVP for headless quandoscript #526

Closed
@andrewfstratton

Description

@andrewfstratton

Need to fork a copy of quando and cut down

  1. Headless interpreter
  • only runs locally
  • use simple, throwaway, interpreter
  1. Identify pilot blocks
  • perform an action
    • log the time
    • ?do every second?
    • ?log a string?
  • respond to a user action
    • microbit button press -> log time
  1. hard code script
  • two simple instructions:
    1. system.log()\n
    2. ubit.whenButton(when={
      system.log()
      })
  1. How to contain instructions?
  • indentation
    • -buggy
    • +nice to read - like python
  • begin/end
  • { and }
    • standard
    • less buggy and easier to debug
    • can multiline
    • -harder to read

Could be based on a message - allowing client to still work?!

e.g.

  • system.sendMessage(id="message",val="hello")

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions