Skip to content

Commit

Permalink
antlr: Adding back to moonbase.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Veatch committed Jul 9, 2012
1 parent 0d0a3cd commit 907de1f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
10 changes: 10 additions & 0 deletions devel/antlr/BUILD
@@ -0,0 +1,10 @@
(

OPTS="--disable-examples" &&

sed -i "14i #include <string.h>" lib/cpp/antlr/CharScanner.hpp &&
sed -i "14i #include <cstdio>" lib/cpp/antlr/CharScanner.hpp &&

default_build

) > $C_FIFO 2>&1
1 change: 1 addition & 0 deletions devel/antlr/CONFIGURE
@@ -0,0 +1 @@
mquery USE_CXX "Enable ANTLR for C++?" y "--enable-cxx" "--disable-cxx"
2 changes: 2 additions & 0 deletions devel/antlr/DEPENDS
@@ -0,0 +1,2 @@
optional_depends Python "--enable-python" "--disable-python" "for Python support"
optional_depends %JAVA_SDK "--enable-java" "--disable-java" "for Java support"
18 changes: 18 additions & 0 deletions devel/antlr/DETAILS
@@ -0,0 +1,18 @@
MODULE=antlr
VERSION=2.7.7
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_URL=http://www.antlr2.org/download
SOURCE_VFY=sha1:802655c343cc7806aaf1ec2177a0e663ff209de1
WEB_SITE=http://www.antlr2.org
ENTERED=20100824
UPDATED=20100824
SHORT="ANother Tool for Language Recognition"

PSAFE=no
cat << EOF
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a
framework for constructing recognizers, interpreters, compilers, and translators
from grammatical descriptions containing actions in a variety of target
languages. ANTLR provides excellent support for tree construction, tree walking,
translation, error recovery, and error reporting.
EOF

0 comments on commit 907de1f

Please sign in to comment.