added state of the plotter and sequence of commands
moved initialization of plotter
minor refactoring
split extracted driver and shared into separate modules
used constants from shared module
command reader and writer
plotter reads instructions from the pipe
run it using two executables: Device and Driver
command writer payload that demonstrates problem with the reader only reading first or no commands
reader correctly reads all commands from the pipe
longer sequence of commands
reader consumes multiple commands in each frame
change order of args to nextPlotter to avoid flipping
removed commented out code
moved main function to driver main module
removed unused imports
removed dependency on Gloss from driver
hpgl to command conversion takes initial point as argument
optimised device a little to avoid to much mapping over lines data structure
parser works but is not pretty