2011 · 35 citations · 23 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSoftware EngineeringApplication Programming InterfacesType CheckingType SystemsWeb Application SecurityJavascriptJavascript SecurityRuntime SemanticsRuntime Taint TrackingScript Execution BehaviorTaint DetectionTrapsUser-defined Functions
This paper focuses on extensibility, the ability of a programmer using a particular language to extend the expressiveness of that language. This paper explores how to provide an interesting notion of extensibility by virtualizing the interface between code and data. A virtual value is a special value that supports behavioral intercession. When a primitive operation is applied to a virtual value, it invokes a trap on that virtual value. A virtual value contains multiple traps, each of which is a user-defined function that describes how that operation should behave on that value. This paper formalizes the semantics of virtual values, and shows how they enable the definition of a variety of language extensions, including additional numeric types; delayed evaluation; taint tracking; contracts; revokable membranes; and units of measure. We report on our experience implementing virtual values for Javascript within an extension for the Firefox browser.
23
Symbolic execution and program testing
James C. King · Communications of the ACM · 1976 · 3K citations · Full text
Patrice Godefroid, Nils Klarlund, Koushik Sen · ACM SIGPLAN Notices · 2005 · 2.1K citations
The art of the metaobject protocol
Choice Reviews Online · 1992 · 1K citations
Report on the programming language Haskell
Paul Hudak, Simon Peyton Jones, Philip Wadler et al. · ACM SIGPLAN Notices · 1992 · 1K citations · Full text
Concepts and experiments in computational reflection
Pattie Maes · 1987 · 1K citations