The ParseLR Toolkit, examples and associated documentation are covered by the following disclaimer. If you download and use any of this software, you are agreeing to be bound by these terms and conditions:
While Ropley Information Technology Ltd make every effort to deliver quality software, we do not guarantee that the products we offer for free download and use are without defects. Such software is provided “as is," and you use the software at your own risk. We make no warranties as to performance, merchantability, fitness for a particular purpose, or any other warranties whether expressed or implied. No oral or written communication from or information provided by Ropley Information Technology Ltd shall create a warranty. Under no circumstances shall Ropley Information Technology Ltd be liable for direct, indirect, special, incidental, or consequential damages resulting from the use, misuse, or inability to use this software, even if Ropley Information Technology Ltd has been advised of the possibility of such damages.
Clicking on any of the download links below will constitute your agreement to these terms and conditions. Do not download this software if you do not agree to these terms.
Click here to download a ZIP file containing the latest version of the ParseLR.exe
command line tool, the ParserGenerator and Parsing DLLs, the source code for the
examples, and the documentation suite for ParseLR.
This is the current release of the toolkit, and its use has been described in the other pages of this site.
When unzipping the toolkit, it will create a number of folders beneath the
folder into which it is unzipped:
ParseLR.exe
parser generator, and
the DLLs it needs also in the Kit
folder;CalculatorDemoExample
folder;TrafficLightControllerExample
folder;SentenceParserExample
folder.To use the parser generator, you will need to place the ParseLR.exe file and all the DLLs in the Kit folder into some chosen executable folder, and make sure that folder has been added to your environment path. At present, the parser generator has been designed to be used as a command line or batch script based tool. At some point in thew future, a Windows application version might be produced so that there is no need to drop into a command prompt windoe to use it.
There are coded samples included in the ParseLR toolkit download (each of which is also covered by the disclaimer above), that you can use to see how to construct applications that employ the parsers generated by this toolkit. One sample makes use of an offline parser, and implements a desktop calculator as a simple windows application. The calculator deomstrates the use of both LR(1) parsing and GLR parsing of arithmetic expressions. More details about the example are given here. The second example is a simplified English sentence parser. This example is implemented using an inline parser, and also demonstrates the use of guard conditions on terminal and non-terminal tokens. A brief description of this example is available here. Lastly, an example of an inline finite state machine using the grammar-driven finite state machine generator in ParseLR is described here. This example implements a simple traffic light controlled pedestrian crossing.