You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/08/09 01:36:46 UTC

[lucy-commits] svn commit: r1155156 [1/3] - in /incubator/lucy/trunk: NOTICE devel/conf/rat-excludes lemon/ lemon/Makefile lemon/Makefile.MSVC lemon/Makefile.MinGW lemon/README lemon/lemon.c lemon/lempar.c perl/buildlib/Lucy/Build.pm

Author: marvin
Date: Mon Aug  8 23:36:45 2011
New Revision: 1155156

URL: http://svn.apache.org/viewvc?rev=1155156&view=rev
Log:
LUCY-173 Bundle the Lemon parser generator.

Added:
    incubator/lucy/trunk/lemon/
    incubator/lucy/trunk/lemon/Makefile   (with props)
    incubator/lucy/trunk/lemon/Makefile.MSVC   (with props)
    incubator/lucy/trunk/lemon/Makefile.MinGW   (with props)
    incubator/lucy/trunk/lemon/README   (with props)
    incubator/lucy/trunk/lemon/lemon.c   (with props)
    incubator/lucy/trunk/lemon/lempar.c   (with props)
Modified:
    incubator/lucy/trunk/NOTICE
    incubator/lucy/trunk/devel/conf/rat-excludes
    incubator/lucy/trunk/perl/buildlib/Lucy/Build.pm

Modified: incubator/lucy/trunk/NOTICE
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/NOTICE?rev=1155156&r1=1155155&r2=1155156&view=diff
==============================================================================
--- incubator/lucy/trunk/NOTICE (original)
+++ incubator/lucy/trunk/NOTICE Mon Aug  8 23:36:45 2011
@@ -17,3 +17,7 @@ Copyright (c) 2002, Richard Boulton.
 This product bundles the text of the Constitution of the United States of
 America, which is in the public domain.
 
+This product bundles the Lemon parser generator from the SQLite project, which
+has been released into the public domain by its authors as explained at
+<http://www.sqlite.org/copyright.html>.
+

Modified: incubator/lucy/trunk/devel/conf/rat-excludes
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/devel/conf/rat-excludes?rev=1155156&r1=1155155&r2=1155156&view=diff
==============================================================================
--- incubator/lucy/trunk/devel/conf/rat-excludes (original)
+++ incubator/lucy/trunk/devel/conf/rat-excludes Mon Aug  8 23:36:45 2011
@@ -3,6 +3,8 @@ clownfish/MANIFEST
 core/Lucy/Util/StringHelper2.c
 core/Lucy/Util/StringHelper3.c
 devel/conf/rat-excludes
+lemon/lemon.c
+lemon/lempar.c
 modules/analysis/snowstem/source/include/libstemmer.h
 modules/analysis/snowstem/source/libstemmer/libstemmer_utf8.c
 modules/analysis/snowstem/source/libstemmer/modules_utf8.h

Added: incubator/lucy/trunk/lemon/Makefile
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/lemon/Makefile?rev=1155156&view=auto
==============================================================================
--- incubator/lucy/trunk/lemon/Makefile (added)
+++ incubator/lucy/trunk/lemon/Makefile Mon Aug  8 23:36:45 2011
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+CC= cc
+DEFS=
+CFLAGS= $(DEFS) 
+PROGNAME= lemon
+
+all: $(PROGNAME)
+
+$(PROGNAME):
+	$(CC) $(CFLAGS) lemon.c -o $(PROGNAME)
+
+clean:
+	rm -f $(PROGNAME)
+

Propchange: incubator/lucy/trunk/lemon/Makefile
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/lucy/trunk/lemon/Makefile.MSVC
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/lemon/Makefile.MSVC?rev=1155156&view=auto
==============================================================================
--- incubator/lucy/trunk/lemon/Makefile.MSVC (added)
+++ incubator/lucy/trunk/lemon/Makefile.MSVC Mon Aug  8 23:36:45 2011
@@ -0,0 +1,32 @@
+# GENERATED BY gen_charmonizer_makefiles.pl: do not hand-edit!!!
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+CC= cl
+DEFS=
+CFLAGS= $(DEFS) -nologo -D_CRT_SECURE_NO_WARNINGS
+PROGNAME= lemon.exe
+
+CLEANABLE= $(PROGNAME) *.obj *.pdb
+
+all: $(PROGNAME)
+
+$(PROGNAME):
+	$(CC) $(CFLAGS) lemon.c /Fe$(PROGNAME)
+
+clean:
+	CMD /c FOR %i IN ($(CLEANABLE)) DO IF EXIST %i DEL /F %i
+

Propchange: incubator/lucy/trunk/lemon/Makefile.MSVC
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/lucy/trunk/lemon/Makefile.MinGW
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/lemon/Makefile.MinGW?rev=1155156&view=auto
==============================================================================
--- incubator/lucy/trunk/lemon/Makefile.MinGW (added)
+++ incubator/lucy/trunk/lemon/Makefile.MinGW Mon Aug  8 23:36:45 2011
@@ -0,0 +1,32 @@
+# GENERATED BY gen_charmonizer_makefiles.pl: do not hand-edit!!!
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+CC= gcc
+DEFS=
+CFLAGS= $(DEFS)
+PROGNAME= lemon.exe
+
+CLEANABLE= $(PROGNAME)
+
+all: $(PROGNAME)
+
+$(PROGNAME):
+	$(CC) $(CFLAGS) lemon.c -o $(PROGNAME)
+
+clean:
+	CMD /c FOR %i IN ($(CLEANABLE)) DO IF EXIST %i DEL /F %i
+

Propchange: incubator/lucy/trunk/lemon/Makefile.MinGW
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/lucy/trunk/lemon/README
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/lemon/README?rev=1155156&view=auto
==============================================================================
--- incubator/lucy/trunk/lemon/README (added)
+++ incubator/lucy/trunk/lemon/README Mon Aug  8 23:36:45 2011
@@ -0,0 +1,3 @@
+This directory contains the bundled source code for the Lemon parser
+generator, which originates with the SQLite project.  It is used for building
+various parsers needed by Apache Lucy and its subcomponents.

Propchange: incubator/lucy/trunk/lemon/README
------------------------------------------------------------------------------
    svn:eol-style = native