Commit ff164520 authored by david_v's avatar david_v
Browse files

from Valentin David <valentin@lrde.epita.fr>

	* test/expressions/Makefile.am, test/Makefile.am, test/gcc/Makefile.am,
	* test/disambiguate/Makefile.am, config/Makefile.am,
	* lib/prelude/Makefile.am, lib/Makefile.am,
	* src/disamb/resolve/Makefile.am,
	* src/disamb/simpledeclaration/Makefile.am,
	* src/disamb/validtypes/Makefile.am,
	* src/disamb/declaration/Makefile.am,
	* src/disamb/purespecifier/Makefile.am,
	* src/disamb/classparam/Makefile.am,
	* src/disamb/ambdown/Makefile.am, src/disamb/Makefile.am,
	* src/disamb/namespace/Makefile.am, src/pp/Makefile.am,
	* src/cxxsdf/Makefile.am, src/sig/Makefile.am,
	* src/deterministic/Makefile.am, src/strcxxgen/Makefile.am,
	* src/syn/Makefile.am, src/Makefile.am, src/converters/Makefile.am,
	* src/desugar/Makefile.am, src/strategocxx/Makefile.am,
	* src/sdf/Makefile.am, src/parser/Makefile.am:
	Add emacs headers.

	* TODO, AUTHORS, README: Update.

	* Makefile.am: Fix uninstall.

	* configure.ac,
	* config/version.str.in,
	* src/disamb/resolve/afcxx-resolve.str,
	* src/disamb/simpledeclaration/afcxx-simpledeclaration.str,
	* src/disamb/declaration/Ambiguity.str,
	* src/disamb/declaration/afcxx-declaration.str,
	* src/disamb/declaration/DeclarationCut.str,
	* src/disamb/declaration/DeclarationCandidate.str,
	* src/disamb/declaration/DeclarationSelect.str,
	* src/disamb/declaration/Declaration.str,
	* src/disamb/declaration/IfDebug.str,
	* src/disamb/classparam/afcxx-classparam.str,
	* src/disamb/ambdown/ambdown.str,
	* src/disamb/specifier/Count.str,
	* src/disamb/specifier/Specifier.str,
	* src/disamb/specifier/afcxx-specifier.str,
	* src/disamb/specifier/Makefile.am,
	* src/disamb/specifier/Increment.str,
	* src/disamb/specifier/Stop.str,
	* src/disamb/namespace/NamespaceAliasDefinitionCandidate.str,
	* src/disamb/namespace/NamespaceAliasDefinition.str,
	* src/disamb/namespace/NamespaceDefinitionCut.str,
	* src/disamb/namespace/NamespaceDefinitionCandidate.str,
	* src/disamb/namespace/afcxx-namespace.str,
	* src/disamb/namespace/NamespaceDefinition.str,
	* src/disamb/namespace/NamespaceDefinitionSelect.str,
	* src/disamb/namespace/NamespaceNameKinds.str,
	* src/disamb/disambiguate/ClassDefinition.str,
	* src/disamb/disambiguate/TemplateDefinitionCandidate.str,
	* src/disamb/disambiguate/BaseTraverse.str,
	* src/disamb/disambiguate/ConstructorDefinition.str,
	* src/disamb/disambiguate/UsingDefinition.str,
	* src/disamb/disambiguate/TemplateIdAmbiguity.str,
	* src/disamb/disambiguate/IfDebug.str,
	* src/disamb/disambiguate/NamespaceDefinition.str,
	* src/disamb/disambiguate/NamespaceNameAmbiguity.str,
	* src/disamb/disambiguate/Keys.str,
	* src/disamb/disambiguate/TemplateIdAmbiguityCut.str,
	* src/disamb/disambiguate/Parameter.str,
	* src/disamb/disambiguate/TemplateTraverseCandidate.str,
	* src/disamb/disambiguate/VariableDefinitionCandidate.str,
	* src/disamb/disambiguate/TemplateIdAmbiguityCandidate.str,
	* src/disamb/disambiguate/PrimaryExpression.str,
	* src/disamb/disambiguate/afcxx-disambiguate.str,
	* src/disamb/disambiguate/CompoundStatementCandidate.str,
	* src/disamb/disambiguate/FunctionDefinitionAmbiguity.str,
	* src/disamb/disambiguate/LocalOrGlobal.str,
	* src/disamb/disambiguate/EnumDefinition.str,
	* src/disamb/disambiguate/ClassTraverse.str,
	* src/disamb/disambiguate/SimpleTypeSpecifierCandidate.str,
	* src/disamb/disambiguate/VariableDeclarator.str,
	* src/disamb/disambiguate/PostfixExpressionAmbiguity.str,
	* src/disamb/disambiguate/CheckNamespaceName.str,
	* src/disamb/disambiguate/ClassOrNamespaceAmbiguity.str,
	* src/disamb/disambiguate/PrimaryExpressionCandidate.str,
	* src/disamb/disambiguate/TemplateClassDefinitionCandidate.str,
	* src/disamb/disambiguate/Kinds.str,
	* src/disamb/disambiguate/CompoundStatement.str,
	* src/disamb/disambiguate/TemplateClassDefinition.str,
	* src/disamb/disambiguate/SimpleDeclarationAmbiguity.str,
	* src/disamb/disambiguate/TypeDeclaratorCandidate.str,
	* src/disamb/disambiguate/Resolve.str,
	* src/disamb/disambiguate/TypeDeclarator.str,
	* src/disamb/disambiguate/TemplateFunctionDefinitionCandidate.str,
	* src/disamb/disambiguate/TemplateFunctionDefinition.str,
	* src/disamb/disambiguate/TypeAmbiguity.str,
	* src/disamb/disambiguate/Makefile.am,
	* src/disamb/disambiguate/NamespaceDefinitionCandidate.str,
	* src/disamb/disambiguate/CheckClassName.str,
	* src/disamb/disambiguate/Lookup.str,
	* src/disamb/disambiguate/ClassOrNamespaceAmbiguityCut.str,
	* src/disamb/disambiguate/SizeofAmbiguity.str,
	* src/disamb/disambiguate/ClassDefinitionCandidate.str,
	* src/disamb/disambiguate/InitDeclaratorAmbiguity.str,
	* src/disamb/disambiguate/CheckTypeName.str,
	* src/disamb/disambiguate/BaseTraverseCandidate.str,
	* src/disamb/disambiguate/TemplateTraverse.str,
	* src/disamb/disambiguate/GetKey.str,
	* src/disamb/disambiguate/TemplateArguments.str,
	* src/disamb/disambiguate/DeclaratorIdAmbiguity.str,
	* src/disamb/disambiguate/NamespaceTraverse.str,
	* src/disamb/disambiguate/EnumDefinitionCandidate.str,
	* src/disamb/disambiguate/TemplateClassTraverse.str,
	* src/disamb/disambiguate/TypeAmbiguityCandidate.str,
	* src/disamb/disambiguate/TemplateFunctionTraverse.str,
	* src/disamb/disambiguate/VariableDefinition.str,
	* src/disamb/disambiguate/ClassOrNamespaceTraverse.str,
	* src/disamb/disambiguate/CheckEnumName.str,
	* src/disamb/disambiguate/StatementAmbiguity.str,
	* src/disamb/disambiguate/VariableDeclaratorCandidate.str,
	* src/disamb/disambiguate/ResolveCompound.str,
	* src/disamb/disambiguate/TemplateDefinition.str,
	* src/disamb/disambiguate/AmbiguityCandidate.str,
	* src/disamb/disambiguate/TypeDefinitionCandidate.str,
	* src/disamb/disambiguate/Ambiguity.str,
	* src/disamb/disambiguate/TypeDefinition.str,
	* src/disamb/disambiguate/ClassOrNamespaceAmbiguityCandidate.str,
	* src/disamb/disambiguate/TypeAmbiguityCut.str,
	* src/disamb/disambiguate/MemInitializerIdAmbiguity.str,
	* src/disamb/disambiguate/NestedNameSpecifier.str,
	* src/disamb/disambiguate/PostfixExpressionAmbiguityCandidate.str,
	* src/disamb/disambiguate/SimpleTypeSpecifier.str,
	* src/disamb/disambiguate/Definition.str,
	* src/pp/unbox.str,
	* src/pp/pp-cxx.str,
	* src/pp/pp-dxx.str,
	* src/strcxxgen/strcxxgen.str,
	* src/desugar/afcxx-desugar.str,
	* src/parser/ParsePPDirective.str,
	* src/parser/parse-cxx.str,
	* src/parser/ambtrack.str: Fix headers.

2004-04-16  Valentin David  <valentin@lrde.epita.fr>
parent d2e3b459
Akim Demaille <akim@epita.fr>
Clement Vasseur <vasseu_c@lrde.epita.fr>
Julien Roussel <spip@lrde.epita.fr>
Nicolas Pouillard <ertai@lrde.epita.fr>
Nicolas Tisserand <tisser_n@lrde.epita.fr>
Olivier Gournet <gourne_o@lrde.epita.fr>
Quc Peyrot <chojin@lrde.epita.fr>
Robert Anisko <robert@lrde.epita.fr>
Valentin David <valentin@lrde.epita.fr>
2004-04-16 Valentin David <valentin@lrde.epita.fr>
* test/expressions/Makefile.am, test/Makefile.am, test/gcc/Makefile.am,
* test/disambiguate/Makefile.am, config/Makefile.am,
* lib/prelude/Makefile.am, lib/Makefile.am,
* src/disamb/resolve/Makefile.am,
* src/disamb/simpledeclaration/Makefile.am,
* src/disamb/validtypes/Makefile.am,
* src/disamb/declaration/Makefile.am,
* src/disamb/purespecifier/Makefile.am,
* src/disamb/classparam/Makefile.am,
* src/disamb/ambdown/Makefile.am, src/disamb/Makefile.am,
* src/disamb/namespace/Makefile.am, src/pp/Makefile.am,
* src/cxxsdf/Makefile.am, src/sig/Makefile.am,
* src/deterministic/Makefile.am, src/strcxxgen/Makefile.am,
* src/syn/Makefile.am, src/Makefile.am, src/converters/Makefile.am,
* src/desugar/Makefile.am, src/strategocxx/Makefile.am,
* src/sdf/Makefile.am, src/parser/Makefile.am:
Add emacs headers.
* TODO, AUTHORS, README: Update.
* Makefile.am: Fix uninstall.
* configure.ac,
* config/version.str.in,
* src/disamb/resolve/afcxx-resolve.str,
* src/disamb/simpledeclaration/afcxx-simpledeclaration.str,
* src/disamb/declaration/Ambiguity.str,
* src/disamb/declaration/afcxx-declaration.str,
* src/disamb/declaration/DeclarationCut.str,
* src/disamb/declaration/DeclarationCandidate.str,
* src/disamb/declaration/DeclarationSelect.str,
* src/disamb/declaration/Declaration.str,
* src/disamb/declaration/IfDebug.str,
* src/disamb/classparam/afcxx-classparam.str,
* src/disamb/ambdown/ambdown.str,
* src/disamb/specifier/Count.str,
* src/disamb/specifier/Specifier.str,
* src/disamb/specifier/afcxx-specifier.str,
* src/disamb/specifier/Makefile.am,
* src/disamb/specifier/Increment.str,
* src/disamb/specifier/Stop.str,
* src/disamb/namespace/NamespaceAliasDefinitionCandidate.str,
* src/disamb/namespace/NamespaceAliasDefinition.str,
* src/disamb/namespace/NamespaceDefinitionCut.str,
* src/disamb/namespace/NamespaceDefinitionCandidate.str,
* src/disamb/namespace/afcxx-namespace.str,
* src/disamb/namespace/NamespaceDefinition.str,
* src/disamb/namespace/NamespaceDefinitionSelect.str,
* src/disamb/namespace/NamespaceNameKinds.str,
* src/disamb/disambiguate/ClassDefinition.str,
* src/disamb/disambiguate/TemplateDefinitionCandidate.str,
* src/disamb/disambiguate/BaseTraverse.str,
* src/disamb/disambiguate/ConstructorDefinition.str,
* src/disamb/disambiguate/UsingDefinition.str,
* src/disamb/disambiguate/TemplateIdAmbiguity.str,
* src/disamb/disambiguate/IfDebug.str,
* src/disamb/disambiguate/NamespaceDefinition.str,
* src/disamb/disambiguate/NamespaceNameAmbiguity.str,
* src/disamb/disambiguate/Keys.str,
* src/disamb/disambiguate/TemplateIdAmbiguityCut.str,
* src/disamb/disambiguate/Parameter.str,
* src/disamb/disambiguate/TemplateTraverseCandidate.str,
* src/disamb/disambiguate/VariableDefinitionCandidate.str,
* src/disamb/disambiguate/TemplateIdAmbiguityCandidate.str,
* src/disamb/disambiguate/PrimaryExpression.str,
* src/disamb/disambiguate/afcxx-disambiguate.str,
* src/disamb/disambiguate/CompoundStatementCandidate.str,
* src/disamb/disambiguate/FunctionDefinitionAmbiguity.str,
* src/disamb/disambiguate/LocalOrGlobal.str,
* src/disamb/disambiguate/EnumDefinition.str,
* src/disamb/disambiguate/ClassTraverse.str,
* src/disamb/disambiguate/SimpleTypeSpecifierCandidate.str,
* src/disamb/disambiguate/VariableDeclarator.str,
* src/disamb/disambiguate/PostfixExpressionAmbiguity.str,
* src/disamb/disambiguate/CheckNamespaceName.str,
* src/disamb/disambiguate/ClassOrNamespaceAmbiguity.str,
* src/disamb/disambiguate/PrimaryExpressionCandidate.str,
* src/disamb/disambiguate/TemplateClassDefinitionCandidate.str,
* src/disamb/disambiguate/Kinds.str,
* src/disamb/disambiguate/CompoundStatement.str,
* src/disamb/disambiguate/TemplateClassDefinition.str,
* src/disamb/disambiguate/SimpleDeclarationAmbiguity.str,
* src/disamb/disambiguate/TypeDeclaratorCandidate.str,
* src/disamb/disambiguate/Resolve.str,
* src/disamb/disambiguate/TypeDeclarator.str,
* src/disamb/disambiguate/TemplateFunctionDefinitionCandidate.str,
* src/disamb/disambiguate/TemplateFunctionDefinition.str,
* src/disamb/disambiguate/TypeAmbiguity.str,
* src/disamb/disambiguate/Makefile.am,
* src/disamb/disambiguate/NamespaceDefinitionCandidate.str,
* src/disamb/disambiguate/CheckClassName.str,
* src/disamb/disambiguate/Lookup.str,
* src/disamb/disambiguate/ClassOrNamespaceAmbiguityCut.str,
* src/disamb/disambiguate/SizeofAmbiguity.str,
* src/disamb/disambiguate/ClassDefinitionCandidate.str,
* src/disamb/disambiguate/InitDeclaratorAmbiguity.str,
* src/disamb/disambiguate/CheckTypeName.str,
* src/disamb/disambiguate/BaseTraverseCandidate.str,
* src/disamb/disambiguate/TemplateTraverse.str,
* src/disamb/disambiguate/GetKey.str,
* src/disamb/disambiguate/TemplateArguments.str,
* src/disamb/disambiguate/DeclaratorIdAmbiguity.str,
* src/disamb/disambiguate/NamespaceTraverse.str,
* src/disamb/disambiguate/EnumDefinitionCandidate.str,
* src/disamb/disambiguate/TemplateClassTraverse.str,
* src/disamb/disambiguate/TypeAmbiguityCandidate.str,
* src/disamb/disambiguate/TemplateFunctionTraverse.str,
* src/disamb/disambiguate/VariableDefinition.str,
* src/disamb/disambiguate/ClassOrNamespaceTraverse.str,
* src/disamb/disambiguate/CheckEnumName.str,
* src/disamb/disambiguate/StatementAmbiguity.str,
* src/disamb/disambiguate/VariableDeclaratorCandidate.str,
* src/disamb/disambiguate/ResolveCompound.str,
* src/disamb/disambiguate/TemplateDefinition.str,
* src/disamb/disambiguate/AmbiguityCandidate.str,
* src/disamb/disambiguate/TypeDefinitionCandidate.str,
* src/disamb/disambiguate/Ambiguity.str,
* src/disamb/disambiguate/TypeDefinition.str,
* src/disamb/disambiguate/ClassOrNamespaceAmbiguityCandidate.str,
* src/disamb/disambiguate/TypeAmbiguityCut.str,
* src/disamb/disambiguate/MemInitializerIdAmbiguity.str,
* src/disamb/disambiguate/NestedNameSpecifier.str,
* src/disamb/disambiguate/PostfixExpressionAmbiguityCandidate.str,
* src/disamb/disambiguate/SimpleTypeSpecifier.str,
* src/disamb/disambiguate/Definition.str,
* src/pp/unbox.str,
* src/pp/pp-cxx.str,
* src/pp/pp-dxx.str,
* src/strcxxgen/strcxxgen.str,
* src/desugar/afcxx-desugar.str,
* src/parser/ParsePPDirective.str,
* src/parser/parse-cxx.str,
* src/parser/ambtrack.str: Fix headers.
2004-04-16 Valentin David <valentin@lrde.epita.fr>
* src/pp/Makefile.am: Add rule to build pp-cxx.inc.
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
ACLOCAL_AMFLAGS = -I config
SUBDIRS = config lib src test
BOOTCLEAN_SUBDIRS = src
EXTRA_DIST = bootstrap ChangeLog
XTC_IMPORT = $(STRATEGOXT)/share/strategoxt/XTC
uninstall: uninstall-am uninstall-recusive uninstall-xtc
uninstall-xtc:
uninstall-hook:
@for i in $(DREPOSITORY); do \
echo "rm -f $$i" ; \
rm -f $$i ; \
......
cxx-grammar -*- text -*-
cxx-grammar -*- Text -*-
-----------
C++ syntax definition with disambiguation tools.
Authors: Robert Anisko <robert@lrde.epita.fr>
Akim Demaille <akim@epita.fr>
Clment Vasseur <vasseu_c@lrde.epita.fr>
Nicolas Tisserand <tisser_n@lrde.epita.fr>
Quc Peyrot <chojin@lrde.epita.fr>
Robert Anisko <robert@lrde.epita.fr>
Valentin David <valentin@lrde.epita.fr>
Akim Demaille <akim@epita.fr>
Clement Vasseur <vasseu_c@lrde.epita.fr>
Julien Roussel <spip@lrde.epita.fr>
Nicolas Pouillard <ertai@lrde.epita.fr>
Nicolas Tisserand <tisser_n@lrde.epita.fr>
Olivier Gournet <gourne_o@lrde.epita.fr>
Quc Peyrot <chojin@lrde.epita.fr>
Valentin David <valentin@lrde.epita.fr>
Requirements
------------
StrategoXT 0.9.5 or above (http://www.stratego-language.org/)
sdf-option 0.1 or above (http://www.lrde.epita.fr/)
boxedsdf 0.2 or above (http://www.lrde.epita.fr/)
boxedsdf 0.3 or above (http://www.lrde.epita.fr/)
sdf-detgen 0.1 or above (http://www.lrde.epita.fr/)
STLport 4.6 or above (http://www.stlport.org/)
......@@ -38,3 +40,24 @@ Test suites
test/gcc
GCC (g++ 3.3.2) test suite, extracted from gcc-testsuite-3.3.2.tar.bz2
--
Copyright (C) 2003, 2004 EPITA Research and Development Laboratory.
This file is part of CxxGrammar from the Transformers project.
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
* put deterministic grammar into src/syn/ directory
* debug filters (except disambiguate which will be rewritten)
* list different bugs in test/g++/ files parsing
* correct the pretty print informations
* check for all unknown ambiguities (list them is a good job)
* Improve the pretty-printing.
* Handle anonymous class and namespace.
* Fix disambiguation bugs.
* Context dump for disambiguation filters to improve parse with preprocessor.
# Makefile.am -*-Makefile-*-
MAINTAINERCLEANFILES = \
Makefile.in \
$(STANDARD_TOOLS)
......
/*
* version.str.in: this file is a part of Transformers project.
*
* Copyright (C) 2004 EPITA Research and Development Laboratory
*
* This program is free software; you can redistribute it and/or modify
......@@ -19,19 +21,19 @@
module version
strategies
basename = explode-string
; !([], <id>)
; rec x(?(<id>, [])
mybasename = explode-string
; !([], <id>)
; rec x(?(<id>, [])
<+ ((![], ?[47|<id>]); x)
<+ {n,ns: ?(_,[n|ns]); (<concat> [<id>, [n]], !ns); x})
; implode-string
; implode-string
long-description(p) = !["This is a part of the Transformers project.\n\n",
"For more documentation: ",
"http://transformers.lrde.epita.fr/\n\n",
"Report bugs to <transfomers-bugs@lrde.epita.fr>"]
override-system-about = <concat-strings> [<get-config; basename> "program",
override-system-about = <concat-strings> [<get-config; mybasename> "program",
" @VERSION@\n"]
; echo
; <concat-strings> [
......
# Configure template for C++ Grammar. -*-Autoconf-*-
#
# Copyright (C) 2003, 2004 Laboratoire de Recherche et Developpement
# de l'EPITA.
# Copyright (C) 2003, 2004 EPITA Research and Development Laboratory.
#
# 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
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
SUBDIRS = prelude
......
# Makefile.am -*-Makefile-*-
EXTRA_DIST = $(SRCS)
SRCS = \
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
SUBDIRS = syn \
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
-include afcxx2afdxx.c.dep
-include afdxx2afcxx.c.dep
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
PGEN_FLAGS = -m $*
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
-include afcxx-desugar.c.dep
......
/*
* Copyright (C) 2004 EPITA Research and Development Laboratory
* afcxx-desugar.str:
* this file is a part of CxxGrammar from the Transformers project.
* Copyright (C) 2004 EPITA Research and Development Laboratory.
*
* 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
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
PGEN_FLAGS = -m $*
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
SUBDIRS = \
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
-include ambdown.c.dep
......
/*
* ambdown.str:
* this file is a part of CxxGrammar from the Transformers project.
* Copyright (C) 2004 EPITA Research and Development Laboratory.
*
* 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
*
*/
module ambdown
imports
......
# Makefile.am -*-Makefile-*-
include $(top_srcdir)/config/Makefile.xt
-include afcxx-classparam.c.dep
......
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