Racket - the Language-Oriented Programming Language - version 8.15 is now available from https://download.racket-lang.org

See https://blog.racket-lang.org/2024/11/racket-v8-15.html for the release announcement and highlights. #DrRacket #Racket #RacketLanguage

Download Racket

Data Integrity via Smart Structs

by David Storrs

Structs in Racket should be more than dumb data storage. They should be data models in the sense of MVC programming; they should ensure that their contents are valid according to your project’s business rules and they should make it easy to do common operations such as storing to a database or generating a struct from data of another type such as a database row or user input field.

The struct-plus-plus module makes this easy. It allows you to place contracts on individual fields, specify business rules that ensure integrity between fields, easily create converter functions, and much more, with all of these things being part of the struct definition and therefore in one easily-referenced location. Come see how it all works and how you can simplify your code with struct-plus-plus!

Watch now: presentation

#Racket #RacketLang #RacketLanguage #RacketCon

dstorrs - Overview

dstorrs has 44 repositories available. Follow their code on GitHub.

GitHub

keyring: Uniformly Access Secrets

by Sam Phillips

Hardcoding passwords in your programs is bad. Using secure password stores are good. Keyring is a Racket library that allows programs to access different password stores using a simple interface.

Watch now: presentation

#Racket #RacketLang #RacketLanguage #RacketCon

samdphillips - Overview

samdphillips has 104 repositories available. Follow their code on GitHub.

GitHub

Incrementally Developing Support for Racket->Wasm Compilation

by Adam Perlin

Wasm is an attractive compiler target for a variety of reasons: it has support in all major browsers, its isolation guarantees are beneficial for security reasons, and it has potential as a general-purpose platform-independent execution environment. However, adding Wasm support to Racket has proven a challenging problem due to differences in the execution model each language uses at runtime. Chez Scheme, the backend of Racket CS, utilizes code generation conventions which are difficult to adapt to Wasm.

This talk will present an alternative approach to Racket-to-Wasm compilation which is compatible with Racket CS. The approach is accomplished by using an existing bytecode format and interpreter which are already supported under Chez Scheme, and performing an ahead-of-time translation of portions of bytecode programs into Wasm. This sets up an incremental approach to the development of a Racket-to-Wasm compilation system.

Watch now: presentation

#Racket #RacketLang #RacketLanguage #RacketCon

adamperlin - Overview

adamperlin has 57 repositories available. Follow their code on GitHub.

GitHub
Implementing Type Systems as Macros

There’s a neat paper Type Systems as Macros by Chang, Knauth, and Greenman [1] that describes how to implement a typed language using an untyped host language and macro expansion. The paper is neat, but I found the code hard to follow—the paper uses a compact notation that’s convenient for print, but not so much for reproducing on one’s own. This post is my attempt to implement and explain in more accessible terms what’s presented in the paper.

Lambda Land

Mutate: Inject Bugs into Your Programs!

by Lukas Lazarek

Lukas Lazarek introduces mutate, a library for mutating programs, i.e. injecting possible bugs by making small syntactic changes to the program syntax. Lucas discusses what mutation is, why one might want it, and provides a demo of how to use the library.

Watch now: presentation

#Racket #RacketLang #RacketLanguage #RacketCon

Lukas Lazarek

Lukas Lazarek: I'm a grad student studying Programming Languages at Northwestern. This page provides information about myself and what I have been doing recently. The other half of the site is a blog that I use to practice writing about technical things,...

#lang Karp: Formulating and Random Testing NP Reductions

by Chenhao Zhang

Reduction, a pervasive idea in computer science, is often taught in algorithm courses with NP problems. The traditional pen-and-paper approach is notoriously ineffective both for students and instructors: Subtle mistakes in reductions are often hard to detect by merely inspecting the purported solutions. Constructing a counterexample by hand to expose the mistake is even more onerous. Based on the observation that reductions are actually programs, we designed #lang Karp, a DSL for formulating and random testing NP reductions.

In this presentation, Chenhao Zhang discusses the implementation of Karp on top of Racket and solver-aided host language Rosette.

Watch now: presentation

#Racket #RacketLang #RacketLanguage #RacketCon

Chenhao Zhang

Introducing Rackith

by Sage Gerard

Rackith is a language-oriented programming language based on Racket. Use Rackith to define many languages with one syntax object.

Watch the presentation now: talk video

#Racket #RacketLang #RacketLanguage #RacketCon

Redeeming Open Source with Attribution Based Economics

By Sid Kasivajhula, feat. Michael Ballantyne

Attribution Based Economics (ABE) is a new paradigm for economics that revises several foundational assumptions governing today’s systems, including the nature of economic value and the origin of money. In this new paradigm, open source software becomes economically viable and, indeed, even financially favored over proprietary models. This talk describes our experiences implementing an early prototype for the Qi project, and also how Racket will be an essential part of the solution as ABE scales past the pilot stage.

Watch now: presentation

#ABE #QiProject #Racketlang #Racket #RacketLanguage #OpenSource

countvajhula - Overview

countvajhula has 69 repositories available. Follow their code on GitHub.

GitHub

Racket has exceeded 45,000 commits!

#Racket #RacketLang #RacketLanguage
(Image courtesy of Sorawee Porncharoenwase https://x.com/sorawee_p/status/1733234956368024057?s=46&t=WFP0L9LfXkITwVFL61zRDQ )

Sorawee Porncharoenwase (@sorawee_p) on X

@racketlang just exceeded 45,000 commits!

X (formerly Twitter)