@natecull relevant to your interests methinks: https://github.com/mntmn/interim
(mntmn also developed a modern video card for the Amiga so he's a generally an interesting frood)
@djsundog Ooh! And on Raspberry Pi!
@natecull I had interim running on a pi last summer and it was quite nice to have a little lispmachine in the lab - I keep hoping it will pick up enough steam to move forward a bit
@natecull getting interim running on the pi2 was a pain last summer, and it doesn't seem he's worked on it much since, but it would certainly scratch that nothing but S-expressions itch you've got :)
@djsundog Probably what I need to do first is work out how to deactivate reader macros in Racket.
Because I want to try writing adventure games in it and OF COURSE the very first thing I hit is "I have loads of text with punctuation symbols and BANG NOPE".
@djsundog Yes I'm trying to store text as lists of words like any self-respecting 1970s AI hacker why do you ask and where are you going with that straitjacket
@natecull these are the sorts of rabbit holes I find myself in often ;)
@djsundog Like eg:
https://docs.racket-lang.org/reference/reader.html
Along with whitespace, the following characters are delimiters:
( ) [ ] { } " , ' ` ;
A delimited sequence that starts with any other character is typically parsed as either a symbol, number, or extflonum, but a few non-delimiter characters play special roles:
and then # | \
and omg WHAT this is INSANE you're leaving me NOTHING
and Racket is the nicest Scheme!!!
https://docs.racket-lang.org/guide/hash-reader.htm
"The reader layer of the Racket language can be extended through the #reader form."
No see I want the OPPOSITE of 'extend' I want to retract the reader. Just cut out all that weird insane crud.
I guess that means I have to write my own, or something.
I know it's possible! But I also know I only have about 40 years of life left and the Racket manual is LONG.
I meant okmij
Definitely a genius, if I had the slightest clue what any of it meant
@djsundog Like even the #s-exp language IS NOT JUST S-EXPRESSIONS!!!!
https://docs.racket-lang.org/guide/module-languages.html
#lang s-exp "html.rkt"
(title "Queen of Diamonds")
(p "Updated: " ,(now))
NO WHAT ARE YOU DOING TO THAT INNOCENT COMMA PUT IT DOWN RIGHT NOW
HOW CAN I WRITE SENTENCES WITHOUT COMMAS
@djsundog I guess this is where I need to start:
https://docs.racket-lang.org/guide/hash-lang_reader.html
I need just a TINY bit more structure than "literally just a giant string" though.
Oh well. It's possible. Somehow. I can get to 'hello world' eventually.
Might have to understand the ENTIRE Racket module and compilation architecture first though.
@djsundog There's gotta be a way to make Racket do what I want. It's probably literally ONE LINE OF CODE if I can work out what that one line is.
@craigmaloney @djsundog Guile looks really interesting!
I guess it doesn't run on Windows though?
@djsundog A big part of my problem here is that there's no keyword or definition of 'pure S-expression language'.
I just want something that doesn't steal all the punctuation characters. And has very minimal, predictable behaviour.
But there's no words to describe that. If I search for 'reader macro' I get advice for *implementing* them.
@natecull I'm telling ya, you need you some @lojikil in your life.
Here's one of his langs : https://github.com/lojikil/carML