Get the latest tech news

Lisp implemented in Rust macros


A Lisp interpreter written fully in rust macros. . Contribute to RyanWelly/lisp-in-rs-macros development by creating an account on GitHub.

A simple, lexically scoped Lisp interpreter that operates fully in Rust's declarative macros. It appears to work, but trying to evaluate((lambda (X) X) (quote a)) in the interpreter takes more than 30 seconds and generates far more than 1 million+ tokens before cargo gets sigkilled. The Implementation of Functional Programming Languages by Simon Peyton Jones Anything Matt Might has ever written about lisp on his blog ( https://matt.might.net)

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust Macros

Rust Macros