1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
Kevin Glynn 11663b51fd Add antlr-3.3 jar and CSharp 3.2 runtime source
The Antlr.Runtime source is taken from the AntlrCSharp source repository.
A readme.txt there says:

*** WARNING ***
This project uses Tree Pattern Matching, which was added to ANTLR 3.2.  The CSharp 3.1 runtime has no support for
Tree Pattern Matching.  There is no CSharp 3.2 Runtime :)  There will not be a CSharp 3.2 Runtime.

Build Instructions:
- To build this project from the .g grammar files you must use the included antlr-3.3.jar.  The antlr-3.2.jar does
not have string templates (used to generate the parser/lexer) that work with the updated runtime.  Your
parser/lexer will not compile if you do not use the included antlr3.3.jar.
- You must use this solution's custom Antlr3.Runtime (already done for you).  This is a snapshot of the source, with
bug fixes I have made.  The runtime pieces I use seem to work just fine.  YMMV if you use others.  Good luck with that :)
2010-06-27 16:47:02 -05:00
..
2010-05-31 08:24:37 -05:00

-- Rebuild cs parser

cd "\Documents and Settings\DevUser\My Documents\gitrepos\CSharpTranslator"

java -Xmx512m -jar jar\antlr-3.2.jar src\cs2j\CSharp\cs.g
java -Xmx512m -jar jar\antlr-3.2.jar -debug src\cs2j\CSharp\cs.g

src\cs2j\bin\Debug\cs2j.exe -netdir "c:\Documents and Settings\DevUser\My Documents\TrunkBranch\CS2JLibrary" -appdir "c:\Documents and Settings\DevUser\My Documents\Visual Studio 2005\Projects\ScormEngineNetTrunk\src\app\ScormEngine.Core" "c:\Documents and Settings\DevUser\My Documents\Visual Studio 2005\Projects\ScormEngineNetTrunk\src\app\ScormEngine.Core\Logic"

C:\Documents and Settings\DevUser\My Documents\gitrepos\CSharpTranslator>src\cs2
j\bin\Debug\cs2j.exe -netdir "c:\Documents and Settings\DevUser\My Documents\Tru
nkBranch\CS2JLibrary" -appdir "c:\Documents and Settings\DevUser\My Documents\Vi
sual Studio 2005\Projects\ScormEngineNetTrunk\src\app\ScormEngine.Core\Util\Cach
ing\NullCache.cs" "c:\Documents and Settings\DevUser\My Documents\Visual Studio
2005\Projects\ScormEngineNetTrunk\src\app\ScormEngine.Core\Logic"

src\cs2j\bin\Debug\cs2j.exe -mindriver C:\Documents and Settings\DevUser\My Documents\kgtemp\getClass.cs