# AI methods in programming (focusing on Scheme,Racket)

**URL:** <https://racket.discourse.group/t/ai-methods-in-programming-focusing-on-scheme-racket/4522>\
**Category:** General\
**Created:** [December 2, 2026, 2:08pm UTC](https://racket.discourse.group/t/ai-methods-in-programming-focusing-on-scheme-racket/4522 "2026-12-02T14:08:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![damien\_mattei](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/damien_mattei/32/2706_2.png) [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Post date:** [December 2, 2026, 2:08pm UTC](https://racket.discourse.group/t/ai-methods-in-programming-focusing-on-scheme-racket/4522/1 "2026-12-02T14:08:05Z")

</div>

I'm creating this thread for everyone to discuss AI methods (with a focus on Scheme and Racket). This way, we can avoid going off-topic in other discussion threads.

I will start with this example:

When developing a new programming language (either manually or using AI),

we have to perform extensive verification tests.

An AI like Claude Code will want to validate a new language developed based on Scheme by

testing it on thousands of examples of small programs.

I was suggested to install an external tool called:

American Fuzzy Lop (AFL) :

> **[American Fuzzy Lop (software)](https://en.wikipedia.org/wiki/American_Fuzzy_Lop_(software))**
>
> American Fuzzy Lop (AFL), stylized in all lowercase as american fuzzy lop, is a free software fuzzer that employs genetic algorithms in order to efficiently increase code coverage of the test cases. So far it has detected hundreds of significant software bugs in major free software projects, including X.Org Server, PHP,OpenSSL, pngcrush, bash, Firefox, BIND, Qt, and SQLite. Initially released in November 2013, AFL quickly became one of the most widely used fuzzers in security research. For many ...

As I understand it, the AI provides “seeds”—which are small program examples—to AFL, which then uses these seeds to generate different programs (modified by a genetic algorithm) to test the language. (This has been used with Scheme+ and type annotation.) It checks whether parsing and compilation succeed all the way through to runtime (and perhaps even beyond, by comparing the result to the expected output if it knows what that is, though I’m not entirely sure about that).

One advantage is that AFL is external to the coding agent itself, so it can run all night to verify a new programming language without consuming any AI tokens.

This makes it possible to develop a new language based on Racket that is very reliable because it has been verified on tens of thousands of examples.

(It should be possible to use this without AI, but I wouldn’t know how to do it.)

Translated with [DeepL.com](http://DeepL.com) (free version)
