Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dennis Veatch
committed
Jul 9, 2012
1 parent
0d0a3cd
commit 907de1f
Showing
4 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mquery USE_CXX "Enable ANTLR for C++?" y "--enable-cxx" "--disable-cxx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |