-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
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
- 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.
- 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...
- 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
- Go interpreter - https://github.com/traefik/yaegi
- Run time linking - https://stackoverflow.com/questions/19431296/building-and-linking-dynamically-from-a-go-binary
Reactions are currently unavailable