×

Extending the functionality of a host programming language

  • US 8,533,672 B2
  • Filed: 03/20/2008
  • Issued: 09/10/2013
  • Est. Priority Date: 03/20/2008
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for extending the functionality of a host language, the method comprising:

  • providing a language extension file that defines at least a portion of a domain specific language;

    applying a lexer to the language extension file to generate a first portion of a domain specific language specification, the first portion of the domain specific language specification relating tokens that include strings of characters from the domain specific language to corresponding tokens that include strings of characters from the host language;

    applying a parser to the language extension file to generate a second portion of a domain specific language specification, the second portion of the of the domain specific language relating at least one grammatical rule for operations on tokens from the domain specific language to at least one corresponding grammatical rule for operations on tokens from the host language; and

    incorporating the domain specific language specification into a system for executing program code in the host language, the domain specific language specification describing a procedure in the host language for executing a set of functions from the domain specific language by relating operations on strings of characters from the domain specific language to operations on strings of characters from the host language.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×