sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Arjan Bouter (76074189b8e57ca16e13ad9e083a34fd2bbabf28)
- From: Arjan Bouter <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (76074189b8e57ca16e13ad9e083a34fd2bbabf28)
- Date: Fri, 24 Apr 2009 21:12:05 -0500
GIT changes to master grimoire by Arjan Bouter <abouter AT sourcemage.org>:
ChangeLog | 3 +++
devel/lemon/BUILD | 2 ++
devel/lemon/DETAILS | 25 +++++++++++++++++++++++++
devel/lemon/HISTORY | 3 +++
devel/lemon/INSTALL | 1 +
devel/lemon/PRE_BUILD | 3 +++
6 files changed, 37 insertions(+)
New commits:
commit 1196c4e4034484909f63984ad14947105ea8d46d
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>
lemon: new spell, parser generator
diff --git a/ChangeLog b/ChangeLog
index d3cb26c..ed2e6dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-04-24 Arjan Bouter <abouter AT sourcemage.org>
+ * devel/lemon: new spell, parser generator
+
2009-04-24 Julien "_kaze_" ROZO <julien AT rozo.org>
* audio-libs/taglib-extras: new spell, audio metadata reading
diff --git a/devel/lemon/BUILD b/devel/lemon/BUILD
new file mode 100755
index 0000000..cc2e686
--- /dev/null
+++ b/devel/lemon/BUILD
@@ -0,0 +1,2 @@
+cd ${SOURCE_DIRECTORY} &&
+gcc -o lemon lemon.c
diff --git a/devel/lemon/DETAILS b/devel/lemon/DETAILS
new file mode 100755
index 0000000..9a83eb1
--- /dev/null
+++ b/devel/lemon/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=lemon
+ VERSION=0
+ SOURCE="${SPELL}.c"
+ SOURCE_URL[0]=http://www.sqlite.org/cvstrac/getfile/sqlite/tool/${SOURCE}
+
SOURCE_HASH=sha512:8773ac025dc3813da0ef3444f4ec9820343f2c07e663f162767617a8f2955a1539e61e726b552b36528b37578f187901897f1a37857a8e410cc6bc7be223f0f5
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}"
+ WEB_SITE=http://www.hwaci.com/sw/lemon/
+ LICENSE[0]=PD
+ ENTERED=20090425
+ SHORT="Lemon parser generator"
+ GATHER_DOCS=off
+cat << EOF
+The Lemon program is an LALR parser generator.
+It takes a context free grammar and converts it into a subroutine
+that will parse a file using that grammar.
+Lemon is similar to the much more famous programs "YACC" and "BISON".
+
+But lemon is not compatible with either yacc or bison. There are
+several important differences:
+* Lemon using a different grammar syntax which is less prone to
+ programming errors.
+* The parser generated by Lemon is both re-entrant and thread-safe.
+* Lemon includes the concept of a non-terminal destructor, which makes
+ it much easier to write a parser that does not leak memory.
+EOF
diff --git a/devel/lemon/HISTORY b/devel/lemon/HISTORY
new file mode 100644
index 0000000..acee92f
--- /dev/null
+++ b/devel/lemon/HISTORY
@@ -0,0 +1,3 @@
+2009-04-25 Arjan Bouter <abouter AT sourcemage.org>
+ * BUILD, DETAILS, HISTORY, INSTALL,
+ PRE_BUILD: created spell
diff --git a/devel/lemon/INSTALL b/devel/lemon/INSTALL
new file mode 100755
index 0000000..663ac33
--- /dev/null
+++ b/devel/lemon/INSTALL
@@ -0,0 +1 @@
+install -m 0755 lemon ${INSTALL_ROOT}/usr/bin
diff --git a/devel/lemon/PRE_BUILD b/devel/lemon/PRE_BUILD
new file mode 100755
index 0000000..1251b6a
--- /dev/null
+++ b/devel/lemon/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+cp ${SOURCE_CACHE}/${SOURCE} ./
- [SM-Commit] GIT changes to master grimoire by Arjan Bouter (76074189b8e57ca16e13ad9e083a34fd2bbabf28), Arjan Bouter, 04/24/2009
Archive powered by MHonArc 2.6.24.