Abstract
We present FlowSpec, a declarative specification language for the domain of dataflow analysis. FlowSpec has declarative support for the specification of control flow graphs of programming languages, and dataflow analyses on these control flow graphs. We define the formal semantics of FlowSpec, which is rooted in Monotone Frameworks. We also discuss a prototype implementation of the language, built in the Spoofax Language Workbench. Finally, we evaluate the expressiveness and conciseness of the language with two case studies. These case studies are performed using Green-Marl, an industrial, domain-specific language for graph processing. The first case study is a classical dataflow analysis, scaled to this full language. The second case study is a domain-specific analysis of Green-Marl.
Original language | English |
---|---|
Title of host publication | SLE 2017 Proceedings of the 10th ACM SIGPLAN International Conference on Software Language Engineering |
Editors | Benoit Combemale, Marjan Mernik, Bernhard Rumpe |
Place of Publication | New York |
Publisher | Association for Computing Machinery (ACM) |
Pages | 221-231 |
Number of pages | 11 |
ISBN (Electronic) | 978-1-4503-5525-4 |
DOIs | |
Publication status | Published - Oct 2017 |
Event | SLE 2017: The 10th ACM SIGPLAN International Conference on Software Language Engineering - Vancouver, Canada Duration: 23 Oct 2017 → 24 Oct 2017 |
Conference
Conference | SLE 2017 |
---|---|
Country/Territory | Canada |
City | Vancouver |
Period | 23/10/17 → 24/10/17 |
Keywords
- control flow graph
- Data-flow Analysis
- Domain specific language
- Spoofax