LRSTAR: LR(*) parser generator for C++ A.M.D.G.
About Feedback Downloads,
Setup
LRSTAR DFA Release
Notes
Contact

LRSTAR for Windows

LRSTAR is available for a price. Contact me for more information.
To install LRSTAR, create a folder called:

SOFTWARE / LRSTAR

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


Download Visual Studio 2019

Download Visual Studio 2019 and install it on your computer. The free version, Visual Studio Community is fine. LRSTAR works well inside of Visual Studio. You just click on an error messages and it takes you to the line causing the error.


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.


Dark Environment

My personal preference, easier on my eyes and the colors pop out more. The VS setting is here

TOOLS / OPTIONS / ENVIRONMENT / GENERAL

"Color Theme" is at the top right. Select "Dark".


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.20.0.001 / example1 / 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 LRTEC 2020.  All rights reserved.