Zum Hauptinhalt springen

Showing 1–3 of 3 results for author: Vekris, P

Searching in archive cs. Search in all archives.
.
  1. arXiv:1708.08021  [pdf, other

    cs.PL

    Fast and Precise Type Checking for JavaScript

    Authors: Avik Chaudhuri, Panagiotis Vekris, Sam Goldman, Marshall Roch, Gabriel Levi

    Abstract: In this paper we present the design and implementation of Flow, a fast and precise type checker for JavaScript that is used by thousands of developers on millions of lines of code at Facebook every day. Flow uses sophisticated type inference to understand common JavaScript idioms precisely. This helps it find non-trivial bugs in code and provide code intelligence to editors without requiring signi… ▽ More

    Submitted 30 August, 2017; v1 submitted 26 August, 2017; originally announced August 2017.

  2. arXiv:1604.02480  [pdf, ps, other

    cs.PL

    Refinement Types for TypeScript

    Authors: Panagiotis Vekris, Benjamin Cosman, Ranjit Jhala

    Abstract: We present Refined TypeScript (RSC), a lightweight refinement type system for TypeScript, that enables static verification of higher-order, imperative programs. We develop a formal core of RSC that delineates the interaction between refinement types and mutability. Next, we extend the core to account for the imperative and dynamic features of TypeScript. Finally, we evaluate RSC on a set of real w… ▽ More

    Submitted 8 April, 2016; originally announced April 2016.

  3. arXiv:1504.08039  [pdf, other

    cs.PL

    Trust, but Verify: Two-Phase Typing for Dynamic Languages

    Authors: Panagiotis Vekris, Benjamin Cosman, Ranjit Jhala

    Abstract: A key challenge when statically typing so-called dynamic languages is the ubiquity of value-based overloading, where a given function can dynamically reflect upon and behave according to the types of its arguments. Thus, to establish basic types, the analysis must reason precisely about values, but in the presence of higher-order functions and polymorphism, this reasoning itself can require basic… ▽ More

    Submitted 29 April, 2015; originally announced April 2015.