xref: /aosp_15_r20/external/antlr/runtime/CSharp2/README.TXT (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1*16467b97STreehugger RobotANTLR v3.1 .NET Runtime Library (for us with the ANTLR C# Code Generator)
2*16467b97STreehugger Robot
3*16467b97STreehugger Robot29 September, 2007
4*16467b97STreehugger Robot
5*16467b97STreehugger RobotKunle Odutola		: kunle UNDERSCORE odutola AT hotmail DOT com
6*16467b97STreehugger RobotMicheal Jordan
7*16467b97STreehugger Robot
8*16467b97STreehugger Robot1. INTRODUCTION
9*16467b97STreehugger Robot
10*16467b97STreehugger RobotThe ANTLR v3.1 .NET Runtime Library extend the ANTLR language processing
11*16467b97STreehugger Robottools generator to the C#/CLI platforms such as Microsoft .NET,
12*16467b97STreehugger RobotNovell/Ximian Mono and dotGNU. It is written in the C# programming language
13*16467b97STreehugger Robotand was designed specifically for use with the ANTLR C# Code Generation
14*16467b97STreehugger Robottarget but, it would work equally well with a VB.NET, C++/CLI or indeed
15*16467b97STreehugger RobotIronPython code generator were such a thing to be developed for ANTLR v3.1.
16*16467b97STreehugger Robot
17*16467b97STreehugger RobotWe hope you find the ANTLR v3.1 .NET Runtime Library delightful and useful
18*16467b97STreehugger Roboteven but, as per the license under which you may use it, this software is not
19*16467b97STreehugger Robotguaranteed to work.
20*16467b97STreehugger Robot
21*16467b97STreehugger RobotPlease see LICENSE.TXT for the full text of the license and NOTICE.TXT
22*16467b97STreehugger Robotfor attribution notices.
23*16467b97STreehugger Robot
24*16467b97STreehugger Robot
25*16467b97STreehugger Robot2. WHAT'S IN THE PACK?
26*16467b97STreehugger Robot
27*16467b97STreehugger RobotThis distribution contains three projects, the project files needed to
28*16467b97STreehugger Robotbuild them with Microsoft Visual Studio 2003 & 2005 and, Nant build files.
29*16467b97STreehugger Robot
30*16467b97STreehugger RobotThe projects are:
31*16467b97STreehugger Robot
32*16467b97STreehugger Robot	1. Antlr3.Runtime           - the ANTLR v3.1 .NET Runtime Library
33*16467b97STreehugger Robot
34*16467b97STreehugger Robot	2. Antlr3.Utility           - the ANTLR v3.1 .NET Runtime Utility Library
35*16467b97STreehugger Robot
36*16467b97STreehugger Robot	3. Antlr3.Runtime.Tests     - the ANTLR v3.1 .NET Runtime Library Tests
37*16467b97STreehugger Robot
38*16467b97STreehugger RobotIn addition the Libraries sub-directory contains externals dependencies.
39*16467b97STreehugger Robot
40*16467b97STreehugger Robot2.1 Dependencies
41*16467b97STreehugger Robot
42*16467b97STreehugger Robot   1. Antlr3.Runtime           - none
43*16467b97STreehugger Robot
44*16467b97STreehugger Robot   2. Antlr3.Utility           - Antlr3.Runtime.dll
45*16467b97STreehugger Robot                                 StringTemplate.dll
46*16467b97STreehugger Robot                                 antlr.runtime.dll
47*16467b97STreehugger Robot
48*16467b97STreehugger Robot   3. Antlr3.Runtime.Tests     - Antlr3.Runtime.dll
49*16467b97STreehugger Robot                                 StringTemplate.dll
50*16467b97STreehugger Robot                                 antlr.runtime.dll
51*16467b97STreehugger Robot
52*16467b97STreehugger RobotIn addition, Antlr3.Runtime.Tests has a dependency on the MbUnit v2.4 dlls.
53*16467b97STreehugger Robot
54*16467b97STreehugger Robot
55*16467b97STreehugger Robot3. USING The ANTLR v3.1 .NET Runtime Library
56*16467b97STreehugger Robot
57*16467b97STreehugger RobotTou use the ANTLR v3.1 .NET Runtime Library in your projects, add a
58*16467b97STreehugger Robotreference to the following file in your projects:
59*16467b97STreehugger Robot  - Antlr3.Runtime.dll
60*16467b97STreehugger Robot
61*16467b97STreehugger RobotIf you are using StringTemplate out in your grammar, add the following
62*16467b97STreehugger Robotfiles too:
63*16467b97STreehugger Robot  - StringTemplate.dll
64*16467b97STreehugger Robot  - antlr.runtime.dll
65*16467b97STreehugger Robot
66*16467b97STreehugger RobotYou can find examples of using ANTLR v3.1 and the ANTLR v3.1 .NET Runtime
67*16467b97STreehugger RobotLibrary at:
68*16467b97STreehugger Robot  http://www.antlr.org/download/examples-v3.tar.gz
69*16467b97STreehugger Robot
70*16467b97STreehugger Robot
71*16467b97STreehugger Robot4. BUILDING The ANTLR v3.1 .NET Runtime Library
72*16467b97STreehugger Robot
73*16467b97STreehugger RobotIf you wish to re-build The ANTLR v3.1 .NET Runtime Library for any reason, this
74*16467b97STreehugger Robotis what you need to know.
75*16467b97STreehugger Robot
76*16467b97STreehugger Robot    nant clean
77*16467b97STreehugger Robot	nant release -t:net-1.1
78*16467b97STreehugger Robotor
79*16467b97STreehugger Robot    nant clean
80*16467b97STreehugger Robot	nant release -t:net-2.0
81*16467b97STreehugger Robot
82*16467b97STreehugger Robot
83*16467b97STreehugger Robot5. ANTLR v3.1 .NET Runtime Library STATUS
84*16467b97STreehugger Robot
85*16467b97STreehugger RobotThis release of the ANTLR v3.1 .NET Runtime Library is a stable beta release.
86*16467b97STreehugger Robot
87*16467b97STreehugger RobotThere are currently 0 failures in the unit test suite.
88*16467b97STreehugger Robot
89*16467b97STreehugger Robot
90*16467b97STreehugger RobotDon't forget to visit the www.antlr.org for further info. The mailing lists
91*16467b97STreehugger Robotare (currently) low volume and have a very high Signal-to-Noise ratio. We'd
92*16467b97STreehugger Robotlike to hear about how you're using ANTLR v3.1 and the .NET Runtime Library.
93*16467b97STreehugger Robot
94*16467b97STreehugger Robot
95*16467b97STreehugger Robot7. CONTRIBUTORS
96*16467b97STreehugger Robot
97*16467b97STreehugger RobotKunle Odutola
98*16467b97STreehugger RobotMicheal Jordan
99*16467b97STreehugger Robot
100*16467b97STreehugger Robot
101*16467b97STreehugger RobotEnjoy!
102*16467b97STreehugger Robot
103*16467b97STreehugger RobotKunle Odutola
104