1. A method comprising: extracting, with a preprocessor in a computer system, macroinstructions that are hard-coded into parser code of a command line interface (CLI) parser, wherein the macroinstructions define a proper CLI syntax for CLI commands input to a CLI prompt and include parse nodes used by the CLI parser to analyze whether one or more CLI commands input to the CLI prompt have proper CLI syntax, and wherein the macroinstructions are written according to a first computer system language; converting, with the preprocessor, the macroinstructions into at least one parse graph having an Extensible Markup Language (XML) format, wherein the converting includes encapsulating the parse nodes of the macroinstructions with XML tags and stitching together the encapsulated parse nodes of the macroinstructions to generate the parse graph, and wherein the first computer system language is different than an Extensible Markup Language (XML) language associated with the parse graph; and generating, with the preprocessor, an exportable representation of the at least one parse graph and outputting the exportable representation of the at least one parse graph from the computer system.
2. The method of claim 1 wherein the extracting of macroinstructions includes extracting information explicitly within the macroinstructions and other information pointed to in the parser code by the macroinstructions, and wherein the converting of the macroinstructions further includes encapsulating the information pointed to in the parser code by the macro instructions with XML tags for inclusion in the parse graph.