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]

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.0
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

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for gcodehs-0.1.2.0

[back to package description]

gcodehs

Installing

Usage

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`)