Patent ID: 8694448

Claim:
A method for providing a parser, comprising: receiving, via a processor, a configuration file for a router from a customer edge router, wherein the configuration file comprises a plurality of commands, wherein the customer edge router is used to access a service from a core network through a provider edge router; parsing, via the processor, a command from the configuration file; determining, via the processor, whether there is an existing entry for the command in a model of a configuration language, wherein the model of the configuration language is used to record a syntactic structure of each command in the configuration language and its relationship to other commands, wherein the model of the configuration language is recorded in a tree structure; creating, via the processor, a new entry for the command in the model of the configuration language, when there is no existing entry for the command; converting, via the processor, the model of the configuration language to a human-and-machine readable language, wherein the human-and-machine readable language comprises a data description language, wherein the data description language comprises a processing ad-hoc data sources markup programming language; and using, via the processor, the model that has been converted to update the parser.