William Bowman presents llm-lang, a Racket language extension for first-class prompt engineering, while humorously questioning its utility.
github.com/wilbowma/llm-lang
"As we all know, generative AI and LLMs have replaced software engineering entirely, so all existing programming languages are deprecated. (What are you talking about?) Unfortunately, because even PL people don’t understand the importance of language-oriented programming, interfaces to LLMs remain restricted to chatbots, IDE plugins, and crappy APIs for deprecated languages! This is not the world we were promised; I want first-class prompt engineering! (No, I really don’t!)
Introducing, llm-lang, a Racket hash-lang in which prompt engineering in first class! (Why did I do this?) By default, youre writing a prompt! If you need, you can escape into Racket to compute part of the prompt, or compute over the result of the prompt, but you probably won’t since LLMs can do it all! (You’re joking right?) We perform some cursory experiments to show the power of llm-lang, and some limitations. While it doesn’t strictly provide any measurable benefit, and might in fact be hugely problematic if deployed for anything real, it is cool. (Please, somebody stop me.) I’m sure sufficiently advanced magic will solve these problems in the future. (😫)"
----
Learn more about Racket at racket-lang.org
Join the community at the Racket Discourse racket.discourse.group/ and Discord discord.gg/6Zq8sH5
If you are enjoying the 14th RacketCon please consider supporting the Racket project and community. Donations, both in-kind and monetary, are used for hosting community infrastructure, administration, educational outreach, and community events such as RacketCon and Racket School.
You can donate via either
* Software Freedom Conservancy racket-lang.org/sfc.html
* GitHub Sponsors github.com/sponsors/racketracket.discourse.group/t/enjoying-the-14th-racketcon-please-…
Why it's here
2 people recommend this
s
spdegabrielleon Lobsters • Recommends
First class Prompt Engineering with llm lang! (This is a bad idea.)
First class Prompt Engineering with llm lang! (This is a bad idea.) by William Bowman at the (fourteenth RacketCon) is now available at link to this video