Coding 2023-08-16
Hhhhhhgghblhhhhhhhhhhhhh.
The laptop overheated or something earlier. Did Not Like That.
Anyway, I'm thinking about ramping up on Cohost with NABTO (which I'm probably going to end up calling "Impliciula"), and there are a few steps I feel like I need to take:
- Extract the code highlighting stuff from the blog stylesheet
- Put together a prototype Pygments lexer for what I have currently of NABTO/Impliciula's syntax.
- Get this hosted somewhere. This isn't totally straightforward because I don't want to use Git, so I'm personally thinking either a Mercurial forge or the Pijul nest.
:)
Flashbacks to the time you listed every SCM you could think of except Git.
Let's be fair, I also didn't list BitKeeper.
Anyway, I'm a little out of it, possibly because resurrecting my laptop is kind of stressful.
:)
Isn't your working theory that you just need to wait for it to cool off, which admittedly seems to take a really long time?
Stop being right; it doesn't help.
Anyway, the idea is that I'd figure out how to incorporate that stuff into the workflow of something like prechoster, so I can drop code blocks into my chosts. Hypothetically, I could also drop the raw HTML into the ReST here, but, ehhh.
I lack the focus to get on this right now, but I guess I need a venv with Pygments installed, and then I can create a custom lexer, and I can invoke that... somehow. Looks like I want to base it off of python -m pygments -x -l your_lexer.py:SomeLexer <inputfile>. I bet I could write a script to handle all the dispatch stuff... Anyway, time to wind down.
Good night.