Direct access of language metadata
First Claim
Patent Images
1. A computing device comprising:
- a memory;
one or more processors operatively coupled to the memory;
a compiler stored in the memory and executed by the one or more processors, the compiler operating to;
receive an input script of a computer programming language, the computer programming language being associated with language metadata specifying runtime characteristics of the computer programming language; and
generate an output program of machine code based on the input script and the language metadata;
an interpreter stored in the memory and executed by the one or more processors, the interpreter operating to execute the output program based on the language metadata; and
a language metadata provider to;
produce one or more modifications to the language metadata based at least in part on language metadata commands to produce the one or more modifications to the language metadata, the one or more modifications including at least one of a new keyword, an operator, or a statement to be added to a grammar of the computer programming language,to provide the modified language metadata to the compiler and the interpreter, andto manipulate the language metadata at runtime and change language behavior.
2 Assignments
0 Petitions
Accused Products
Abstract
Method and system for direct access of language metadata are disclosed. In an implementation, the method includes receiving commands from a user to modify language metadata of a programming language. The metadata is modified based on the command and the modified metadata is utilized as a feature in the programming language at runtime.
-
Citations
18 Claims
-
1. A computing device comprising:
-
a memory; one or more processors operatively coupled to the memory; a compiler stored in the memory and executed by the one or more processors, the compiler operating to; receive an input script of a computer programming language, the computer programming language being associated with language metadata specifying runtime characteristics of the computer programming language; and generate an output program of machine code based on the input script and the language metadata; an interpreter stored in the memory and executed by the one or more processors, the interpreter operating to execute the output program based on the language metadata; and a language metadata provider to; produce one or more modifications to the language metadata based at least in part on language metadata commands to produce the one or more modifications to the language metadata, the one or more modifications including at least one of a new keyword, an operator, or a statement to be added to a grammar of the computer programming language, to provide the modified language metadata to the compiler and the interpreter, and to manipulate the language metadata at runtime and change language behavior. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus comprising:
-
a processor; and a compiler comprising; a parse engine accessible to the processor to receive input script; a standard language grammar module accessible to the processor to define features of a programming language of the input script; an active profile module accessible to the processor to define a sequence of namespaces; and a language metadata provider accessible to the processor to; modify language metadata of the programming language, the language metadata specifying runtime characteristics of the programming language; and modify one or more of the namespaces based on respective modifications to the language metadata, each of the respective modifications being associated with a particular scope indicating one or more sessions for which to apply a respective modification. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method comprising:
-
receiving one or more commands to modify language metadata of a programming language, the one or more commands indicating an addition of at least one of a new keyword, an operator, or a statement to the programming language, the language metadata specifying runtime characteristics of the programming language; modifying the language metadata at runtime based on the one or more commands to produce modified language metadata and change language behavior; modifying a grammar of the programming language based on the modified language metadata to add the at least one new keyword, operator, or statement to the programming language, the grammar of the programming language defining a syntax of the programming language; and utilizing the modified language metadata as a feature at runtime for parsing one or more functions and for execution of an output program. - View Dependent Claims (15, 16, 17, 18)
-
Specification