Grammer file for Coded with numbers e.g. M30

  • Gerhard Burger
    Gerhard Burger


    I would like to write a grammer file for G-code. I already defined some keys but it seems that synedit does not identify it. The codes exist of Characters and Numbers, e.g.

    G00, G01, M03, M30 etc.

    Anybode an idea how to manage this please?

    Question 2:

    There are codes with varible values. e.g.

    N000010 G01 X12.20 Y-123.00
    N000020 G00 X100 Y100 F200

    Values of parameters N, X, Y and F can change. Is there any posibility to define this situation in the grammer file?

    Thanks a lot and best regards