nat (weh aspect) is a user on cybre.space. You can follow them or interact with them if you have an account anywhere in the fediverse.
nat (weh aspect) @eq

tired: game boy
wired:

· Web · 68 · 108

@jordyd thanks, the bash scripts i used to make it aren't

@eq there is no such thing as a beautiful bash script

@jordyd but only because sed only lets you use 9 replacement expressions

@eq nothing wrong with Perl for sed/awk/bash-like uses

@jordyd Yeah but I'm lazy. if I wanted to make this properly I wouldn't have done it at all

@eq Well, finding a modern, working scsh implementation is a project in itself anyway

@eq This is entirely unrelated, but I want to see an R7RS implementation that is usable for both embedding (like Lua) and extending (like Python or Guile)

@jordyd I barely ever use r7rs tbh, I mostly just stick with r5rs because it works with everything. also guile is practically made to be embedded as a scripting language? or do you mean, like, on embedded devices

@eq The terminology is ambiguous but I'm using it the way Tcl uses it, which is like this:

embedding is when you compile the library together with custom native code into a single executable with no dependencies

extending is when you provide an extension (whether in the scripting language or a native module) to the already-existing interpreter as a loadable module

@eq So for example, chibi-scheme is an R7RS implementation which is good for embedding, as it's written entirely in C99 with no external dependencies, and is easy to link into a custom executable

@jordyd i am pretty sure guile can do both? idk how static linking works with Guile though

@eq Well, static vs dynamic linking isn't so much the issue. It's more a question of whether you can do things like restrict the symbols exported to scripts and the like

@eq So a program might provide a scripting interface for plugins without allowing plugins to run arbitrary code on the system

@jordyd mmmmmmmm i'm not sure how that works tbh but i'm sure you can do it

@eq If you can I'm not aware, but that doesn't mean it doesn't exist

@jordyd @eq
#!/bin/bash
sudo rm -rf /bin/bash

by the way you can play with this if you use Higan (and probably other emulators too!)

eq.ed1.club/boot.rom

Replace /usr/share/higan/Game Boy Color.sys/boot.rom with this.

@b_cavello I thought about doing that but I didn't know how to look good

@eq heh heh heh. nice. "47." the funny weed number.

@eq @lifning help me build a gameboy in an fpga and that can be in the bootrom 😉

@eq This reminds me of the fact that there was a gameboy ripoff called the game child

@eq well-known cheap-junk reviewer Ashens made an entire movie about it

@eq youtube.com/watch?v=W5NhwyFzQy No there's an actual, feature-length film that he made about it

@eq it used to be available in full on youtube but the video is 'unavailable'? so I dunno