gcodehs: GCode processor

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

GCode parser, pretty-printer and processing utils

[Skip to Readme]


Change log CHANGELOG.md
Dependencies ansi-wl-pprint, attoparsec, base (>=4.7 && <5), bytestring, containers, double-conversion, gcodehs, optparse-applicative, pipes, pipes-attoparsec, pipes-bytestring, pipes-parse, pipes-safe, template-haskell, text, transformers [details]
License BSD-3-Clause
Copyright 2016 Richard Marko
Author Richard Marko
Maintainer srk@48.io
Category Parsing
Home page https://github.com/distrap/gcodehs
Source repo head: git clone https://github.com/distrap/gcodehs
Uploaded by srk at 2020-06-17T15:07:27Z




Maintainer's Corner

For package maintainers and hackage trustees

Readme for gcodehs-

[back to package description]




To pretty-print sample.gcode::

gcodehs pretty sample.gcode

See gcodehs --help for usage information.

Development status

Pretty printing is slow due to conversion to text but we do have colors!

Fast pretty printer is needed that operates with ByteStrings directly.

Bash completion

Generating bash completion::

gcodehs --bash-completion-script `which gcodehs` &> gcodehs-completion.sh

or sourcing directly::

source <(gcodehs --bash-completion-script `which gcodehs`)