Goldie: AlterCGT

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 -> AlterCGT

# AlterCGT

Manipulates the internal structure of a CGT file, producing a functionally-equivalent CGT file.

This can be useful for adjusting the tables in a CGT to more closely match another CGT, without actually changing its behavior. This way, their DumpCGT outputs will be easier to compare, and any behavioral differences will be easier to identify.

This tool can also be useful if you need to use a CGT with a GOLD engine that makes improper assumptions about how certain data in the CGT should be laid out.

Alter CGT's documentation is built into its help screens:

>goldie-altercgt --help >goldie-altercgt --help [command]