otfmacros/pymacro
2021-03-07 10:00:55 +00:00
..
tests add on the fly macros 2021-03-06 15:01:48 +00:00
macros add on the fly macros 2021-03-06 15:01:48 +00:00
pymacro store macros as dict instead of list of tuples 2021-03-07 10:00:55 +00:00
readme.md update pymacro tests 2019-01-25 17:38:18 +00:00
test.sh add on the fly macros 2021-03-06 15:01:48 +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
  -q, --quiet           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.