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 Жыл бұрын
𝚙𝚛𝚘𝚖𝚘𝚜𝚖 ❣️
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 197 МЛН
Smart Sigma Kid #funny #sigma #memes
00:26
CRAZY GREAPA
Рет қаралды 8 МЛН
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 862 М.
Making A Game In COBOL - Coding Like It's 1975
19:11
SomeUnusualGames
Рет қаралды 1,2 М.
Racket Town Hall (twelfth RacketCon)
39:32
Racket
Рет қаралды 415
The State of Racket - Sam Tobin-Hochstadt - RacketCon 2023
30:16
How to Speak
1:03:43
MIT OpenCourseWare
Рет қаралды 19 МЛН
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 39 МЛН
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН