Extension mechanism for scripting language compiler
Abstract
A method for forming an extension to a scripting language compiler is disclosed. A compiler of a machine receives a source code that has a new keyword to a scripting language of the compiler. An extension compiler module processes the source code to support the new keyword. The compiler and the extension compiler module generate an executable machine code based on a process of the extension compiler module and the compiler.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 12.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: receiving a source code at a compiler on a machine, the source code comprising a new keyword to a scripting language of the compiler; processing, using a processor of the machine, the source code with an extension compiler module configured to support the new keyword; the extension compiler module is further configured to support various contexts by specifying snippet metadata describing the context in which the language is used and define different snippet signatures from different runtime contexts; and generating an executable machine code based on a
- Claim 2Depends on #1
The computer-implemented method of claim 1 , wherein the compiler is configured to: analyze a syntax of the source code; analyze a semantic of the source code; and
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (1)
- "European Application No. 12007376.2, European Search Report mailed Dec. 19, 2014", 6 pgs.