Design Recipe Guided Synthesis with Bingus (twelfth RacketCon)

  Рет қаралды 357

Racket

Racket

Жыл бұрын

The How to Design Programs (HtDP) curriculum, utilizing simple subsets of the Racket programming language, teaches the fundamentals of data-driven program design using the design recipe. This approach teaches recursion by structural decomposition of the input data, enough to express many algorithms on simple recursive data structures. Furthermore, this approach is deeply mechanical, having students write a template depending on the input type of the function that when filled in produces structurally-recursive programs. We present a work-in-progress program synthesizer for the HtDP Student languages, Bingus, that utilizes the design recipe as its primary means of generating programs. By parsing the signature (specification in a comment) of a function, the first step of the design recipe, Bingus makes guesses depending on the signatures of the function inputs, utilizing the check-expects (unit tests) to determine when synthesis is complete. We demonstrate usage of Bingus as a program synthesis tool integrated into DrRacket, and discuss ways that we plan to extend this tool for pedagogic purposes, such as providing better feedback to students from an auto-grader, or determining when student-provided unit tests are insufficient.

Пікірлер: 1
@porter6287
@porter6287 Жыл бұрын
𝚙𝚛𝚘𝚖𝚘𝚜𝚖 ❣️
The State of Racket - Sam Tobin-Hochstadt - RacketCon 2023
30:16
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 17 МЛН
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 861 М.
Making A Game In COBOL - Coding Like It's 1975
19:11
SomeUnusualGames
Рет қаралды 1,2 М.
Stop, Intel’s Already Dead!
13:47
Linus Tech Tips
Рет қаралды 719 М.
Racket Town Hall (twelfth RacketCon)
39:32
Racket
Рет қаралды 415
COBOL Course - Programming with VSCode
1:17:04
freeCodeCamp.org
Рет қаралды 196 М.
How to Speak
1:03:43
MIT OpenCourseWare
Рет қаралды 19 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22