JavaScript logo

Software archeology: interpreting JavaScript source code's semantic intent

Abstract syntax trees declare the relationships among JavaScript elements, but they do not reveal the source code's meaning.

Table of contents

Beyond syntax: identifying semantic intent

The Shift Semantics library defines a structure for representing the behaviour of an ECMAScript program as well as a function for deriving one of these structures from a Shift AST.

Abstract Semantic Graphs (ASGs)

Shift Semantics generates an Abstract Semantic Graph (ASG) for ECMAScript programs and a way to generate one from a Shift AST

Theta criterion

In Chomskian Government and Binding Theory, the θ criterion asserts:

Each argument bears one and only one θ-role, and each θ-role is assigned to one and only one argument.

Conceptual graphs

results matching ""

    No results matching ""