Better scripting language

  • Using gcode for configuration is a very good idea.

    But when it comes to scripting it is very limited.

    If you want to do something clever in your "configuration" files such as home.g or bed.g it is not possible. gcode has no conditions, no variables, no loops, no recursion.

    If the firmware had a simple scripting engine much of the high level, non-realtime, logic could be moved from the firmware into small scripts and it would be a lot more flexible, configurable and user modifiable.

    It should not be too hard to integrate one of the existing scripting language (forth, lisp, lua, ...) into the firmware and add some APIs to low level features.

    This would be a fundamental change for RRF. But a good one IMO.

Log in to reply