gcodehs: GCode processor

[ bsd3, library, parsing, program ] [ Propose Tags ]
Versions [RSS] 0.1.0.0, 0.1.1.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:39Z
Distributions NixOS:0.1.2.0
Executables gcodehs
Downloads 1479 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-06-17 [all 1 reports]

Readme for gcodehs-0.1.2.0

[back to package description]

gcodehs

Installing

  • git clone https://github.com/distrap/gcodehs/
  • cd gcodehs
  • nix-build or nix-shell

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