Back to News
Advertisement
Advertisement

⚑ Community Insights

Discussion Sentiment

50% Positive

Analyzed from 100 words in the discussion.

Trending Topics

#lisp#toy#news#compiler#fun#writing#myself#standard#hacker#always

Discussion (2 Comments)Read Original on HackerNews

stevekempβ€’about 5 hours ago
Hacker News always likes lisp stuff, and even though this is a very simple compiler I had a lot of fun writing it.

I started writing a different compiler, but tied myself in knots with the type-encoding, and lack of clear plan. I figured I'd step back and try a lisp, because there's a known syntax, and it is minimal.

The end result supports lists, integers, strings, characters, lambdas (with closures), and a reasonable standard library - big enough to hack up a small brainfuck interpreter along with the standard fibonacci, factorial, and fizzbuzz toy programs.

So it's a toy, but it's my toy, and maybe interesting to some!

krylonβ€’about 1 hour ago
Just as I was thinking to myself that it might be fun to play around with Lisp again, this shows up in my news ticker. Coincidence?