Visualizing the semantics of gradual languages with Gredex

We present Gredex, an interactive tool to visually explore the static and dynamic semantics of gradually-typed programming languages. Gredex supports a core gradual language with numbers, booleans, functions, pairs, sums, and fixpoints. Gredex displays typing derivations and step-by-step reduction of programs, showing how runtime type information tracking evolves, thereby providing a visual explanation of both successful and failing behaviors. Gredex has been used in multiple research projects over the last decade to design and experiment with gradual languages with features such as security typing, flexible union types, parametric polymorphism, sealing, and merging. Gredex offers a faithful, extensible implementation of gradual language semantics, supporting both experimentation and education.

Institutions

Publication Details

Journal
SoftwareX
Published
2025-10-28
DOI
https://doi.org/10.1016/j.softx.2025.102425
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Visualizing the semantics of gradual languages with Gredex

SoftwareX
Logic, programming, and type systems
article

Visualizing the semantics of gradual languages with Gredex

article en

Abstract

We present Gredex, an interactive tool to visually explore the static and dynamic semantics of gradually-typed programming languages. Gredex supports a core gradual language with numbers, booleans, functions, pairs, sums, and fixpoints. Gredex displays typing derivations and step-by-step reduction of programs, showing how runtime type information tracking evolves, thereby providing a visual explanation of both successful and failing behaviors. Gredex has been used in multiple research projects over the last decade to design and experiment with gradual languages with features such as security typing, flexible union types, parametric polymorphism, sealing, and merging. Gredex offers a faithful, extensible implementation of gradual language semantics, supporting both experimentation and education.

SoftwareXVol. 32
University of Chile (CL)
Quality Education
Openalex Percentile: Top 23%
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.