pith. sign in

arxiv: 1703.02312 · v4 · pith:GADYGGAWnew · submitted 2017-03-07 · 💻 cs.PL

The Formal Semantics of Rascal Light

classification 💻 cs.PL
keywords languagerascalfeaturesformalsemanticsbacktrackinghigh-levelincluding
0
0 comments X
read the original abstract

Rascal is a high-level transformation language that aims to simplify software language engineering tasks like defining program syntax, analyzing and transforming programs, and performing code generation. The language provides several features including built-in collections (lists, sets, maps), algebraic data-types, powerful pattern matching operations with backtracking, and high-level traversals supporting multiple strategies. Interaction between different language features can be difficult to comprehend, since most features are semantically rich. The report provides a well-defined formal semantics for a large subset of Rascal, called Rascal Light, suitable for developing formal techniques, e.g., type systems and static analyses. Additionally, the report states and proofs a series of interesting properties of the semantics, including purity of backtracking, strong typing, partial progress and the existence of a terminating subset.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.