Nate Cull is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

@natecull relevant to your interests methinks: github.com/mntmn/interim

(mntmn also developed a modern video card for the Amiga so he's a generally an interesting frood)

@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

@djsundog Like eg:

docs.racket-lang.org/reference

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!!!

@djsundog but even if you're not trying to Frankenstein up a text-parsing DSL out of raw S-expressions, the sheer number of weird macro forms on this page should turn your hair white

Who needs all of these? What's it all for? This is like the Java class library, only at the syntax level!

Nate Cull @natecull

@djsundog

docs.racket-lang.org/guide/has

"The reader layer of the Racket language can be extended through the 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.

· Web · 0 · 1

@djsundog @lojikil I always feel smarter when I visit his site!

But I also feel very, very, very dumb indeed.

@lojikil @djsundog Uh, wait

I meant okmij

okmij.org/ftp/

Definitely a genius, if I had the slightest clue what any of it meant

@djsundog @natecull Oh gosh, did I just get compared to Oleg? Man, I shouldn't even be correcting Oleg's spelling mistakes (of which there are none, because his papers type checked before he sent them off).

@djsundog Like even the -exp language IS NOT JUST S-EXPRESSIONS!!!!

docs.racket-lang.org/guide/mod

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:

docs.racket-lang.org/guide/has

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.

@djsundog Nope, I now have a head full of Racket documentation and ZERO CLUE how to just 'turn off all the crap'.

It's like it's a deep dark secret and they don't want to tell anyone.

How do I even get a list of built-in languages or readers?

just-make-the-pain-stop.rkt

@natecull @djsundog Have you looked into Guile or am I just making crazy talk here?

@craigmaloney @djsundog Guile looks really interesting!

I guess it doesn't run on Windows though?

@natecull @djsundog You say this like that's a bug. ;)

Wonder if that's changed in the world of Bash under Windows.

@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.