Stacker: A runnable notional machine for an HtDP like language (twelfth RacketCon)

  Рет қаралды 414

Racket

Racket

Күн бұрын

It is difficult to teach the semantics of a conventional programming language to people with only programs and program outputs. There are so many entities behind the scene: the mapping from variables to values, the identities of mutable (and shareable) data structures, the continuation (either represented as evaluation contexts or call stacks), etc. Notional machines, ways to present some aspects of running programs, can facilitate the teaching process by depicting some of these entities and their interaction with the runned programs. This talk presents a notional machine, the Stacker, and how it is being used at Brown’s programming languages course. The Stacker is implemented as a Racket #lang. It is similar to the Stepper but supports mutation and depicts the trace of programs in terms of environments, heaps, and call stacks rather than in terms of substitution.

Пікірлер
Examplar: Making Hay from Wheat (twelfth RacketCon)
28:12
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 7 МЛН
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 9 МЛН
Touching Act of Kindness Brings Hope to the Homeless #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 81 МЛН
Racket Town Hall (twelfth RacketCon)
39:32
Racket
Рет қаралды 415
R: Programming Loops More on apply
4:47
Prof. J. Xu's Virtual Lecture Hall
Рет қаралды 10
The State of Racket - Sam Tobin-Hochstadt - RacketCon 2023
30:16
Rhombus: Status Update - Matthew Flatt - RacketCon 2023
39:08
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 7 МЛН