Goldie: DumpCGT

Goldie
Parsing System (v0.9)
Goldie Home (v0.9)
Getting Started

- Requirements
- Download / Install
- Never Used a Parsing Tool?
- Goldie Overview
- Beginner's Tutorial
- Grammar Definition Language
- Contact / Support
  - Message Board
  - Issue Tracking

Goldie's Tools

- AlterCGT
- DumpCGT
- GenDocs
  - Template Format
- GRMC: Grammar Compiler
- JsonViewer
  - Parse Tree Mode
- Parse
- StaticLang
- Other Tools

GoldieLib Overview

- Static And Dynamic Styles
- Ambiguous Symbols

GoldieLib Reference

- Base
- Exception
- class Language
- class Lexer
- class Parser
- struct Symbol
- class Token
- Ver

GoldieLib Sample Apps

- Calculator Static
- Calculator Dynamic
- Sample Generic Parse

CGT File Format
FAQ
Change Log
If You Use Git Master
Future Work
Developers

- Scripts for Developers
- Library Source and StaticLang

Goldie Home (v0.9) -> Goldie's Tools -> DumpCGT

# DumpCGT

Dumps the data in a CGT file to human-readable text.

### Example:

Using the included lang/calc.cgt (The grammar source for this language can be found in lang/calc.grm):

>goldie-dumpcgt lang/calc.cgt

The results of the above can be seen in calc.cgt.txt.

### Command-line parameters:

Usage: goldie-dumpcgt [options] <inputfile> [options] Examples: goldie-dumpcgt language.cgt goldie-dumpcgt language.cgt --out=language.cgt.txt Options: --help, /? Displays this help screen -o, --out <filename> Output filename (default is '<inputfile w/o path>.txt') -n, --no-filename Don't include the CGT's filename in the dump