I never thought of that! I’m so used to Scheme variants like Chicken where you can define #r or #j or whatever. (Except to use or reference them in any meaningful way you need to use delimiters so you still can’t (display #r), it’s (display |#r|).)
Sandra@Sandra@idiomdrottning.org
@wilfredh I’ve been playing with Lisp on the Acorn Electron lately. There are only symbols and 16-bit ints. Not even strings. If you use an undefined variable it evaluates to the symbol UNDEFINED so like if you do (SAVE myprog) and forget to quote it will just happily save a file called “UNDEFINED”. fun!
Neil@bpeel@mastodon.social
@bpeel I've been writing my first compiler that emits machine code, to see how hard it is:
https://github.com/Wilfred/proper-compiler-hat
My Lisp language is tiny and I'm really missing having lists. Are you managing to do interesting things with your constraints?
Wilfred Hughes
@wilfredh Oh that looks really fun! A Lisp language without lists? Hehe, interesting!
I was mostly trying to do some of #AdventOfCode with it. It’s really slow and quickly runs out of memory though so it’s a bit tricky. It doesn’t have a code editor and you can’t write comments, you just sort of directly manipulate the lisp objects in memory with a funky thing to go to the cdr or the car of the current object then replace what you are looking at.
Neil@bpeel@mastodon.social