otfmacros/pymacro
2019-01-18 18:32:28 +00:00
..
tests Add support for space as a delimiter for macros 2019-01-18 18:15:11 +00:00
macros Add support for space as a delimiter for macros 2019-01-18 18:15:11 +00:00
pymacro Remove unnecessary variable 2019-01-18 18:32:28 +00:00
readme.md Add readme for pymacro 2019-01-18 18:21:29 +00:00
test.sh Add support for space as a delimiter for macros 2019-01-18 18:15:11 +00:00

pymacro

A python implementation of the macros spec

usage

usage: pymacro [-h] [-m MACROS] [-s] input output

positional arguments:
  input                 The file to be processed
  output                The location of the output

optional arguments:
  -h, --help            show this help message and exit
  -m MACROS, --macros MACROS
                        Extra files where macros are stored
  -s, --silent          Do not print processed file

testing

Run test.sh. A diff is run on the actual output against what should have come out according to the spec.