You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2014/01/14 22:34:17 UTC

[lucy-commits] [10/12] git commit: Copy lemon directory from Lucy

Copy lemon directory from Lucy


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/0baa3311
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/0baa3311
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/0baa3311

Branch: refs/heads/master
Commit: 0baa33116541e71f00190892fe1a53c7131ded7a
Parents: 846a776
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue Jan 14 22:26:12 2014 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue Jan 14 22:26:12 2014 +0100

----------------------------------------------------------------------
 lemon/.gitignore     |    1 +
 lemon/Makefile       |   28 +
 lemon/Makefile.MSVC  |   32 +
 lemon/Makefile.MinGW |   32 +
 lemon/README         |    3 +
 lemon/lemon.c        | 4897 +++++++++++++++++++++++++++++++++++++++++++++
 lemon/lempar.c       |  848 ++++++++
 7 files changed, 5841 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0baa3311/lemon/.gitignore
----------------------------------------------------------------------
diff --git a/lemon/.gitignore b/lemon/.gitignore
new file mode 100644
index 0000000..bde2990
--- /dev/null
+++ b/lemon/.gitignore
@@ -0,0 +1 @@
+lemon

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0baa3311/lemon/Makefile
----------------------------------------------------------------------
diff --git a/lemon/Makefile b/lemon/Makefile
new file mode 100644
index 0000000..725f42d
--- /dev/null
+++ b/lemon/Makefile
@@ -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)
+

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0baa3311/lemon/Makefile.MSVC
----------------------------------------------------------------------
diff --git a/lemon/Makefile.MSVC b/lemon/Makefile.MSVC
new file mode 100644
index 0000000..c684099
--- /dev/null
+++ b/lemon/Makefile.MSVC
@@ -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
+

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0baa3311/lemon/Makefile.MinGW
----------------------------------------------------------------------
diff --git a/lemon/Makefile.MinGW b/lemon/Makefile.MinGW
new file mode 100644
index 0000000..86144ec
--- /dev/null
+++ b/lemon/Makefile.MinGW
@@ -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
+

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0baa3311/lemon/README
----------------------------------------------------------------------
diff --git a/lemon/README b/lemon/README
new file mode 100644
index 0000000..850c564
--- /dev/null
+++ b/lemon/README
@@ -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.