Skip to content

Consider more agile alternatives to creating blocks #604

@andrewfstratton

Description

@andrewfstratton

The current browser based block builder is much better than defining using Go, i.e. QuandoScript, since it allows playing around with block design without re compiling and restarting which is quite slow.

Options focus on using drag and drop to build new blocks, i.e. invent the user interface first

  1. Inventor blocks can access default API functionality when being created, i.e.
  • actions are displayed in a log of api that would be called
    • a more complex option would be to show parameters passed within the expected range
  • when blocks could be triggered by inventor to show realistic callbacks/events
    • e.g. like VM state for GPS updates/light level, etc.
  1. Skeleton GO API calls could be generated with default logging handler, especially for actions
  • if the only way to work - likely requires rebuilding
  • could use interpreter to get this working, inefficiently, at runtime without recompile
  • linking to pre built plugins is also an option
  • Note: generated go, for interpreter, could send messages for browser display/watch for testing...
  1. Use embedded python - PREFERRED gives better skills
  • not python only - I dropped python before due to devops issues with C building for system calls
  • this could add agility
  • less efficient
  • allows AI extensions easily
  • recode to Go when stable (or not bother?!)
  • https://github.com/kluctl/go-embed-python

Tools/options that might help to attach/test the server side

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions