meta-sdf-boxed 0.34: Copyrights etc.

Index: ChangeLog from Akim Demaille <akim@epita.fr> * meta-sdf-boxed.prj: More ignore patterns. * configure.ac: Add copyright notice. Quote arguments. Make sure we can find unpack-sdf. Set $prefix if still NONE. * README: Add copyright notice. Index: configure.ac --- configure.ac Wed, 02 Jul 2003 14:23:42 +0200 david_v (meta-sdf-boxed/42_configure. 1.11 644) +++ configure.ac Tue, 30 Sep 2003 18:12:55 +0200 akim (meta-sdf-boxed/42_configure. 1.11 644) @@ -1,13 +1,36 @@ +# Configure template for Boxed SDF. -*-Autoconf-*- +# +# Copyright (C) 2003 Laboratoire de Recherche et Developpement de l'EPITA. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA + AC_PREREQ(2.57) -AC_INIT(boxedsdf, 0.2, valentin@lrde.epita.fr) +AC_INIT([boxedsdf], 0.2, [valentin@lrde.epita.fr]) -AC_CONFIG_AUX_DIR(config) -AC_CONFIG_FILES(config/Makefile) +AC_CONFIG_AUX_DIR([config]) +AC_CONFIG_FILES([config/Makefile]) -AM_INIT_AUTOMAKE([foreign 1.7.1 dist-bzip2]) +AM_INIT_AUTOMAKE([foreign 1.7.7 dist-bzip2]) +# Make sure $prefix is defined. +test "x$prefix" = xNONE && prefix=$ac_default_prefix USE_XT_PACKAGES +test -f $UNPACK_SDF || + AC_MSG_ERROR([cannot find unpack-sdf. Did you set --with-xt?]) AC_PROG_CC AC_PROG_INSTALL Index: README --- README Wed, 02 Jul 2003 14:49:53 +0200 david_v (meta-sdf-boxed/b/24_README 1.7 644) +++ README Tue, 30 Sep 2003 18:25:09 +0200 akim (meta-sdf-boxed/b/24_README 1.7 644) @@ -1,4 +1,4 @@ -BoxedSdf +BoxedSdf -*- Text -*- -------- This package is to make easier the writing of Pretty-Print tables for Generic @@ -23,15 +23,15 @@ A common using is: -$ pack-boxedsdf -i MyGrammar.ppsdf | \ +$ pack-boxedsdf -i MyGrammar.ppsdf | asfix-yield -o MyGrammar.ppdef -$ parse-boxedsdf -i MyGrammar.ppdef | \ - boxed2sdf | \ +$ parse-boxedsdf -i MyGrammar.ppdef | + boxed2sdf | pp-sdf -o MyGrammar.def -$ parse-boxedsdf -i MyGrammar.ppdef | \ - boxed2pp-table | \ +$ parse-boxedsdf -i MyGrammar.ppdef | + boxed2pp-table | pp-pp-table -o MyGrammar.pp Note: if you have to use sdf-cons on your grammar, you should do it before the @@ -43,8 +43,8 @@ If you want to use an already written grammar, you can merge PP information into the Sdf grammar. Let's suppose having MyOldGrammar.def and MyOldGrammar.pp -$ parse-sdf -i MyOldGrammar.def | \ - boxedsdf-merge -p MyOldGrammar.pp | \ +$ parse-sdf -i MyOldGrammar.def | + boxedsdf-merge -p MyOldGrammar.pp | pp-boxedsdf -o MyOldGrammar.ppdef If you want to get modular files, you can use the unpack-sdf of the StrategoXT @@ -57,8 +57,8 @@ pp entries. boxedsdf-update is a tool that can test it. If the pp entries were not modified, it is deleted so as to be regenerated by boxed2pp-table. -$ parse-boxedsdf -i MyUpdatedGrammar.ppdef | \ - boxedsdf-merge -d MuOldGrammar.ppdef --verbose 1 | \ +$ parse-boxedsdf -i MyUpdatedGrammar.ppdef | + boxedsdf-merge -d MuOldGrammar.ppdef --verbose 1 | pp-boxedsdf -o MyCorrectedGrammar.ppdef Production has changed, but not the pp. Reseting it: "constructor1" Production has changed, but not the pp. Reseting it: "constructor2" @@ -74,10 +74,10 @@ example of use: -$ pack-boxedsdf -I /path/to/your/syntax -s YourSdfSyntax -i YourGrammar | \ - implode-asfix | \ - YourSdfSyntax-to-BoxedSdf | \ - boxed2pp-table | \ +$ pack-boxedsdf -I /path/to/your/syntax -s YourSdfSyntax -i YourGrammar | + implode-asfix | + YourSdfSyntax-to-BoxedSdf | + boxed2pp-table | pp-pp-table -o YourGrammar.pp Writing in BoxedSdf @@ -95,3 +95,24 @@ When a pp entry is not specified, boxed2pp-table will generate the default one (with ppgen). So, many production do not have to have pp entries. + +-- + +Copyright (C) 2003 Laboratoire de Recherche et Developpement de l'EPITA. + +This file is part of Boxed SDF. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA
participants (1)
-
Akim Demaille