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

Morgan and I are starting to loosely plan a "digital humanities" course using Racket & Scribble.

@willghatch Getting comfortable with DrRacket and Racket through the picture tutorial; writing an example document in Scribble; writing tools for yourself for document authoring (eg formatting images in your document, generating graphs based on data procedurally, etc)

if a longer course, it would also cover an intro to the command line and how to use version control to keep track of your writing history

@willghatch One reason it would be focused on scribble is I'm a strong believer in quickly getting people to the point where they can do something where they can see real output in a way they can imagine being useful.

Lots of academics author lots of things; focusing on Scribble helps bridge that gap faster is my hypothesis.

Actually being able to quickly teach people enough to be able to make useful things (and without having to learn several different languages) is part of the reason I made [rash](github.com/willghatch/racket-r). You could use it in your shell portion, and students could still leverage their familiar Racket functions inside shell code.

@willghatch Hey, Rash seems cool! It's like eshell, for Racket!

It also seems slightly dangerous to combine the two... eshell also strikes me as slightly dangerous for that reason. ;) But maybe you have stronger separation somehow than eshell does?

But I definitely can see how this would reduce the "one more thing to learn" bit.

BTW have you seen scsh? I wonder what you think of it

willghatch @willghatch

@cwebber Yeah, scsh is cool. I when making Rash and its underlying libraries I tried to keep a lot of the good parts of scsh, but adding new things like a good command-line friendly syntax.

As to safety, I wouldn't recommend embedding shell stuff inside serious programs. But I have often wanted my shell scripts to grow up -- add real data structures, load libraries, etc. So maybe instead of thinking of shell adding unsafety to Racket, think of Racket adding power and safety to shell.

· Web · 1 · 1