Skip to content

Feature: Numeric GCode values are unsuitable for humans #273

Description

@dmeagor

GCode makes sense simple printer commands like movement, particularly on old/slow control board but makes no sense as an actual scripting language and is being misused for complex config and logic.

Essentially you're asking us humans to act as a very poor language interpreter/compiler, looking up functions in the guide and then entering the GCODE numbers manually into a file (along with all the mistakes) when we could just use intellisense to find what we're looking for and then compile down to a GCODE. Even assembly language doesn't use numbers for its commands.

Perhaps a tokenizer like moo https://github.com/no-context/moo could translate the syntax from a .hcode to .gcode language for you. I think the monaco editor used by VSCode could handle a custom .hcode language to for embedding syntax highlighting and intellisense into the web app.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions