From 6bb4c0583042041acb9fa4f6107da3ca1c862e90 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 5 Jul 2016 09:49:26 -0400 Subject: [PATCH] Add (beginning of) graph API * doc/tame.texi: Add graph include. * src/graph.xsl: Added. * test/graph-test.xsl: Added. * test/graph.xspec: Added. --- doc/tame.texi | 3 ++ src/graph.xsl | 85 ++++++++++++++++++++++++++++++++++ test/graph-test.xsl | 82 +++++++++++++++++++++++++++++++++ test/graph.xspec | 110 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 280 insertions(+) create mode 100644 src/graph.xsl create mode 100644 test/graph-test.xsl create mode 100644 test/graph.xspec diff --git a/doc/tame.texi b/doc/tame.texi index 10ed1d0d..760e302c 100644 --- a/doc/tame.texi +++ b/doc/tame.texi @@ -79,6 +79,7 @@ Free Documentation License". @menu * Macro Expansion:: +* Dependency Graph:: @end menu @node Macro Expansion @@ -92,6 +93,8 @@ Free Documentation License". @include ../src/preproc/expand/expand-sequence.texi @raisesections +@include ../src/graph.texi + @include license.texi @bye diff --git a/src/graph.xsl b/src/graph.xsl new file mode 100644 index 00000000..727d3f59 --- /dev/null +++ b/src/graph.xsl @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/test/graph-test.xsl b/test/graph-test.xsl new file mode 100644 index 00000000..40d183e5 --- /dev/null +++ b/test/graph-test.xsl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/graph.xspec b/test/graph.xspec new file mode 100644 index 00000000..aef7be99 --- /dev/null +++ b/test/graph.xspec @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +