Patents
US 9,639,335 B2#22478206 Most CitedActiveUnited States (USPTO)Utility

Contextual typing

5Forward Citations (#22478206 Global)
0.6/yrCitation Velocity (#14462536 Global)
1.08Citation PageRank (#37469730 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Type inference is used to provide the benefits of static type checking without explicitly declaring type in the source code. Type inference that proceeds in a bottom up direction is augmented by contextual typing that proceeds in a top down direction. Contextual typing types enclosed expressions by associating the type of a directly enclosing expression with the enclosed expression. Object literals, function literals and array literals enclosed in assignment and call expressions, can be contextually typed.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 5.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: receiving a parse tree representing program source code by a processor of a software development computer, the program source code comprising at least one enclosing expression, the enclosing expression enclosing at least one enclosed expression; assigning a type associated with the enclosing expression to the at least one enclosed expression by: evaluating the at least one enclosing expression of the parse tree for applicability of contextual typing by: comparing the at least one enclosing expression of the parse tree with a set of templates; selecting a template from the

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 5,586,328 AModule dependency based incremental compiler and method1996117
US 5,748,966 AType error checker for type-free or polymorphic computer language199863
US 6,083,282 ACross-project namespace compiler and method200040
US 6,195,792 B1Software upgrades by conversion automation200135
US 6,381,736 B1Method for compile-time type-checking of arguments for externally-specified format strings200223
US 2002073398 A1Method and system for modifying executable code to add additional functionality—85
US 2002100033 A1System and method supporting type checking of options—11
US 2003159057 A1Method for securing memory mapped control registers—10
US 2003167458 A1Programmatic access to the widest mode floating-point arithmetic supported by a processor—32
US 2003208605 A1System and method of communication between java components in different namespaces—8
US 2004210869 A1Programming language type system with automatic conversions—16
US 2004225999 A1Grammer for regular expressions—148
US 2004225964 A1Method and system for storing pending changes to data—26
US 2005097533 A1Run-time performance with call site inline specialization—39
US 6,941,550 B1Interface invoke mechanism200514
US 2006048095 A1Local type alias inference system and method—40
US 2006089942 A1Whitespace keywords—8
US 2006150146 A1Static inheritance systems and methods—29
US 2006242115 A1System and method for an improved type inference—19
US 2006259541 A1Coordination of set enumeration information between independent agents—14
US 2007028223 A1Compiler supporting programs as data objects—30
US 2007044083 A1Lambda expressions—25
US 2007078823 A1Expression templates and object classes for multidimensional analytics expressions—39
US 2007083551 A1Extensible mechanism for object composition—21
US 7,237,226 B2Method and system for storing pending changes to data200719

Non-Patent Literature (5)

  • "C# Type Inference", Retrieved at <<http://www.codersource.net/MicrosoftNet/CNet30/CTypeInference.aspx>>, Retrieved Date : Nov. 5, 2012, pp. 1-4.
  • "Final Office Action Issued in U.S. Appl. No. 13/798,088", Mailed Date: Jun. 3, 2016, 19 Pages.
  • "Final Office Action Issued in U.S. Appl. No. 13/798,088"; Mailed Date: Mar. 19, 2015, 25 Pages.
  • "Final Office Action Issued in U.S. Appl. No. 13/798,095", Mailed date: Dec. 17, 2015, 19 Pages.
  • "Final Office Action Issued in U.S. Appl. No. 13/798,095", Mailed Date: Mar. 5, 2015, 27 Pages.