Version 6.3
Copyright © 2005 - 2012 Lowell D. Thomas
APG
  … ABNF Parser Generator
All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
Setup.c File Reference

Demonstrates the basics of setting up and running a parser. More...

#include "main.h"
#include "SetupGrammar.h"

Go to the source code of this file.

Functions

void vDemoSetup ()
 

Detailed Description

Demonstrates the basics of setting up and running a parser.

Definition in file Setup.c.

Function Documentation

◆ vDemoSetup()

void vDemoSetup ( )

Demonstrates the fundamentals of building a Parser. The test output is written to Setup.output.

  • construction of the parser
  • handling the input string
  • examination of the parser state
  • collecting and viewing parsing statistics
  • setup and display of the AST

Definition at line 41 of file Setup.c.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/licenses.html or write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.