gcodehs-0.1.2.0: GCode processor

Safe HaskellNone
LanguageHaskell2010

Data.GCode.Pretty

Description

GCode pretty-printing functions

Please do note that these are extremely slow as they do conversion from ByteStrings to Text and vice-verse. Float formatting is probably not the fastest as well. Colorfull versions are especially slow.

Synopsis

Documentation

ppGCode :: GCode -> String Source #

Pretty-print GCode using colors

ppGCodeLine :: Code -> String Source #

Pretty-print single Code using colors

ppGCodeCompact :: GCode -> String Source #

Pretty-print GCode without colors

ppGCodeLineCompact :: Code -> String Source #

Pretty-print single Code without colors

ppGCodeStyle :: Style -> GCode -> String Source #

Pretty-print GCode with specified Style

ppGCodeLineStyle :: Style -> Code -> String Source #

Pretty-print single Code with specified Style