Commit 34350893 authored by david_v's avatar david_v
Browse files

2003-06-02 Valentin David <valentin.david@lrde.epita.fr>

	* src/pp: new directory.
	* src/pp/Makefile.am: new file.
	* src/pp/BoxedSdf2-pretty.pp: new file.
	* src/pp/pp-boxedsdf.str: new file.

	* src/Makefile.am,
	* configure.ac: pp directory added
parent 501bd1cf
2003-06-02 Valentin David <valentin.david@lrde.epita.fr>
* src/pp: new directory.
* src/pp/Makefile.am: new file.
* src/pp/BoxedSdf2-pretty.pp: new file.
* src/pp/pp-boxedsdf.str: new file.
* src/Makefile.am,
* configure.ac: pp directory added
2003-06-02 Valentin David <valentin.david@lrde.epita.fr>
* src/syn/BoxedSdf2.sdf: changed grammar, now pp entries in attributes
......
......@@ -24,6 +24,7 @@ AC_CONFIG_FILES([Makefile
src/pack-boxedsdf/Makefile
src/pack-boxed2sdf/Makefile
src/pack-boxed2pp-table/Makefile
src/pp/Makefile
test/Makefile
test/defs])
AC_OUTPUT
......@@ -5,6 +5,7 @@ SUBDIRS = syn \
boxed2pp-table \
pack-boxedsdf \
pack-boxed2sdf \
pack-boxed2pp-table
pack-boxed2pp-table \
pp
BOOTCLEAN_SUBDIRS = $(SUBDIRS)
[
BoxedAttr -- H hs=0[KW["pp"] KW["("] _1 KW[")"]],
Path2 -- H hs=0[KW["."] _1],
Path2.1:iter-sep -- H hs=0[_1 KW["."]],
pplist -- H[_1],
pplist.1:iter-sep -- H hs=0[_1 KW[","]],
Pathed -- _1 _2,
Pathed.1:opt -- _1
]
include $(top_srcdir)/config/Makefile.xt
pkgdata_DATA = BoxedSdf2-pretty.pp.af
sdfdata_DATA = BoxedSdf2-pretty.pp
bin_PROGRAMS = pp-boxedsdf
SCFLAGS = --main $*
STRINCLUDES = -I $(XTC)/share/xtc
CLEANFILES = pp-boxedsdf pp-boxedsdf.o \
*.tmp *.dep *.atree *.rtree *.txt *.af *.abox *.str *.pp *.def *.tbl
EXTRA_DIST = BoxedSdf2-pretty.pp pp-boxedsdf.str
module pp-boxedsdf
imports xtc-lib stratego-xt-xtc-tools
strategies
pp-boxedsdf =
xtc-io-wrap(
xtc-transform(!"ast2abox", ![
"-p", <xtc-find> "sdf.cons.pp.af",
"-p", <xtc-find> "Box.pp.af",
"-p", <xtc-find> "pp-table.pp.af",
"-p", <xtc-find> "BoxedSdf2-pretty.pp.af"])
; xtc-abox-format
; xtc-abox2text
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment