Dynamic token resolution during compilation
Abstract
A method includes, during compilation of a portion of source code at a compiler, initiating token resolution with respect to a token included in the portion of source code. A static context and a dynamic context of the compiler are queried to identify one or more lookup results of the token. A particular lookup result is selected to resolve the token based on one or more semantic rules of the compiler. The particular lookup result is selected independently of whether the particular lookup result is sourced from the static context or from the dynamic context. The method includes resolving the token based on the selected particular lookup result.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: during compilation of a portion of source code at a compiler: initiating token resolution with respect to a token included in the portion of source code; querying a static context of the compiler and a dynamic context of the compiler; aggregating static context items received as a result of the static context query and dynamic context items received as a result of the dynamic context query to form lookup results; selecting a particular lookup result of the lookup results to resolve the token based on one or more semantic rules of the compiler, wherein
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,664,251 B2 | Analytics driven compiler | 2020 | 2 |
| US 11,061,652 B1 | System and a method for moving legacy applications to cloud | 2021 | 27 |
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- "Byte Compilation", Retrieved at << http://www.zvon.org/other/elisp/Output/SEC198.html >>, pp. 10.
- "Byte Compilation", Retrieved at >, pp. 10.
- "Unified Expression Language Support", Requirements for Unified Expression Language (EL) Support WTP 2.0/JSF 1.0 tooling, from Eclipsepedia, 2010, 9 pages.
- Auslander, et al., "Fast, Effective Dynamic Compilation", Retrieved at << http://www.cs.washington.edu/research/dyncomp/Papers/pldi96.pdf >>, In the proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), May 1996, pp. 1-11.
- Auslander, et al., "Fast, Effective Dynamic Compilation", Retrieved at >, In the proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), May 1996, pp. 1-11.