Compile-time context for dynamically bound operations
Abstract
Compile-time context information is captured and provided to a runtime binder for dynamic features in programming languages. For example, a C# run-time binder uses the information to perform a run-time bind with semantics matching the compiler's binding behavior. Dynamic programming language features supported relate to compound operations, events, delegates, member accessibility, dynamic-typed objects, structs passed by ref, arguments passed by name rather than position, extension methods, conditionally compiled methods, literal arguments, overflow checking, dynamic indexed properties, dynamic method groups, and static method groups.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of transforming selected compile-time context data into a semantics payload for operation binding at run-time, the method comprising the steps of: placing in a semantics payload at compile-time at least one of the following payload portions: a compound-operation-event-add payload portion for a program construct of the form d.P+=h, where d.P is a dynamically typed expression, said payload portion containing an invocation to a run-time-evaluated method to check whether d.P evaluates to an event, an invocation to a mechanism to add an event in case d.P evaluates to an event, and informat
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 20 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (5)
- "Dynamic Language Runtime", Retrieved at <<http://en.wikipedia.org/wiki/Dynamic—Language—Runtime>>, Dec. 10, 2008, pp. 2.
- "Dynamic Language Runtime", Retrieved at >, Dec. 10, 2008, pp. 2.
- "Generating Class Types", Retrieved at <<http://dlr.codeplex.com/Thread/View.aspx?ThreadId=47024>>, Apr. 7, 2009, pp. 3.
- "Generating Class Types", Retrieved at >, Apr. 7, 2009, pp. 3.
- "Inside C# 4.0: dynamic typing, optional parameters, covariance and contravariance", Retrieved at <<http://channel9.msdn.com/shows/Going+Deep/Inside-C-40-dynamic-type-optional-parameters-more-COM-friendly>>, Oct. 31, 2008, pp. 4.