Skip to content

Functional MVP for headless quandoscript #526

Open
@andrewfstratton

Description

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")

Activity

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

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions