LRSTAR - Parser Generator for C++ A.M.D.G.
About Feedback Installation
and Setup
LRSTAR DFA Papers Release
Notes
Contact,
Support

Installation

To install LRSTAR, create a folder called:

SOFTWARE / LRSTAR

Put LRSTAR.24.0.000.zip in there and unzip it.

Set "grm" file extension to C/C++

This allows easy access to your Token-Action and Node-Action function names. Double click on the name, then right-click and select "Go To Definition". The Visual Studio "File Extension" setting is found at:

TOOLS / OPTIONS / TEXT EDITOR / FILE EXTENSION


Set Tab To 3

LRSTAR source code and grammars were written with tabs set to 3, indent 3, and keep tabs. Grammars should work if your tab setting is 4, but the source code wiil look strange. The Visual Studio tab setting is found at:

TOOLS / OPTIONS / TEXT EDITOR / ALL LANGUAGES / TABS


Read-Only Files

Make sure you are not able to modify read-only files, as LRSTAR generates two of them, and DFA generates two of them. The VS setting is found at

TOOLS / OPTIONS / ENVIRONMENT / DOCUMENTS

On the right side, the second [ ] box down from the top. This may already be set properly.


Enable Virtual Space

My personal preference. This is the way it always was in the IBM mainframe days. Can't find it outside of Visual Studio. Poor new generation nerds. There was a book written about them, "The Inmates Are Running The Asylum". The Visual Studio setting is here:

TOOLS / OPTIONS / TEXT EDITOR / ALL LANGUAGES / GENERAL

"Settings" is on right. Click the box [ ] next to "Enable Virtual Space".


Try LRSTAR

Go into the folder:

SOFTWARE / LRSTAR / LRSTAR.24.0.000 / examples / Calc

Double-click workspace.sln

In Visual Studio, do a Build / Build Solution,
and click Local Windows Debugger.

Look at file test.output.txt,
then look at file Calc.grm.

(c) Copyright Paul B Mann 2023.  All rights reserved.