The esoteric language BF was designed to be a language where you could write a very small compiler. Self-hosting BF is significantly harder though.
If we designed languages to minimise total LOC for a project plus its compiler, what would end up with?
Wilfred Hughes
@wilfredh That's what Dr. Alan Kay wanted to find out when he created Viewpoints Research Institute.
Not sure he liked the answer or not, though.
Vertigo@vertigo@mastodon.social
@wilfredh
I suspect you'd get something that looks like either forth or scheme.
There are some scheme compilers in scheme with source that'll fit on your screen, that can compile themselves. Probably also true of forth.
𒀭𒂗𒆠 ENKI ][e@enkiv2@eldritch.cafe
𒀭𒂗𒆠 ENKI ][e@enkiv2@eldritch.cafe
𒀭𒂗𒆠 ENKI ][e@enkiv2@eldritch.cafe
@enkiv2 @Shamar @wilfredh Yep, referring to STEPS.
Vertigo@vertigo@mastodon.social
@enkiv2 @Shamar @wilfredh I honestly had never heard of this aspect of their research. I will read up on it some more. Thanks!!
Vertigo@vertigo@mastodon.social
@wilfredh @Shamar @vertigo It appears to be a more extreme version of the same project. Potentially interesting. Main paper is literally subtitled "recommending widespread unreasonable behavior" -- something that resonates with my soul :)
𒀭𒂗𒆠 ENKI ][e@enkiv2@eldritch.cafe
@enkiv2 @wilfredh @Shamar I just read the paper linked in the Wikipedia article by Ian Piamurta, and it all seems on the one hand super complicated when compared to just bringing up a Forth environment, and on the other hand common sense. I have very mixed feelings about it.
I was hoping to receive some insight that maybe a prototype OO environment could be (within reason of course) as simple to bring up as a Forth environment. What I got instead rather frankly frightened me from even trying.
Vertigo@vertigo@mastodon.social
@wilfredh @Shamar @vertigo I have discovered that nobody reads interesting links if I just stick a big list on my website but people fall all over themselves to check out those same links if posted on microblogging services.
𒀭𒂗𒆠 ENKI ][e@enkiv2@eldritch.cafe
@enkiv2 @wilfredh @Shamar It's probably because of the intermittency of the medium. "If I don't click now," they might think, "I'll never get the opportunity again."
That said, it'd be nice to have a link archive somewhere. :)
Vertigo@vertigo@mastodon.social
@enkiv2 @vertigo @Shamar @wilfredh Can't say for the others, but I just discovered you had a website.
(It's the second time I say this today, sorry if you already read it).
Note that your profile metadata (where you put your website's URL) is not showed to people using something else than Mastodon as their fediverse client.
I'd suggest to put in in your profile description as well :)
Thanks for all these links, I am actively lurking your posts :D
Dead Ninjatrappeur, migrated to @picnoir@social.alternativebit.fr@Ninjatrappeur@social.alternativebit.fr
𒀭𒂗𒆠 ENKI ][e@enkiv2@eldritch.cafe
@vertigo
Don Hopkins worked on (maybe invented??) a message passing prototype OO system for display postscript (used in HyperNeWS) that was only a few lines & should be portable to any forth.
It's hard to imagine prototype OO being hard (i.e., more than 20 lines to bootstrap) in a language that's dynamic enough to support a REPL, tbh.
@wilfredh @Shamar
𒀭𒂗𒆠 ENKI ][e@enkiv2@eldritch.cafe
@enkiv2 @wilfredh @Shamar @vertigo a huge link list is less focused compared to apropos mentions in micro threads?
avocado goblin@a_breakin_glass@cybre.space
@a_breakin_glass
Yeah, each post sort of invites replies. That's another good reason to cross-post.
I've switched to digest for ssb, where a small number of longer posts is the norm, but here posting each link individually is pretty unambiguously better.
@wilfredh @Shamar @vertigo
𒀭𒂗𒆠 ENKI ][e@enkiv2@eldritch.cafe
@enkiv2 @wilfredh @Shamar I've already bookmarked these; but, yes. :) More an observation or general suggestion to others who might be similarly inspired.
Vertigo@vertigo@mastodon.social
@enkiv2 @wilfredh @Shamar While the language has a REPL, it's actually not as dynamic as you might think. Forth strongly favors early binding.
That said, it can definitely be done, but it won't compare performance-wise with typical Forth code.
But, I do agree that Forth makes an excellent lab within which to get things to work. I have ambitions, for example, of implementing an Io parser and AST interpreter (Regrettably, it can't be compatible with Io without investing more work than I care.)
Vertigo@vertigo@mastodon.social