All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

rlisp: A LISP Syntax Frontend That Compiles Directly to Rust

By

thatxliner

22d ago· 4 min readenCode

Summary

rlisp is a transparent s-expression frontend that compiles directly to Rust, allowing developers to write Rust semantics (ownership, borrowing, lifetimes, generics, traits, pattern matching) using LISP syntax. It has no runtime or garbage collector, and relies on rustc for type checking, borrow checking, and optimization — rlisp only handles the syntax transformation from s-expressions to Rust code.

Key quotes

· 5 pulled
Rust semantics with LISP syntax.
A transparent s-expression frontend that compiles directly to Rust — no runtime, no GC, just (s-expr → .rs → binary).
Everything Rust has — ownership, borrowing, lifetimes, generics, traits, pattern matching — expressed as s-expressions.
No semantic gap.
rustc does type checking, borrow checking, and optimization. rlisp just handles the syntax.
Snippet from the RSS feed
Rust but LISP. Contribute to ThatXliner/rust-but-lisp development by creating an account on GitHub.

You might also wanna read