-- Leo's gemini proxy

-- Connecting to gemlog.blue:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

More nimf-wasm, slices of breadpunk, etc.


More nimf via wasm updates


I have worked out some more kinks to make the wasm build of the nimf interpreter closer to useful. It now has a few words (think subroutines, if you are not familiar with forth-like languages). Most of them relate to the fact that, now, when you enter a word into the system (create a subroutine), it will be stored in the browser's localStorage module (if available based on your browser settings). This enables these cool words:


load - will load in all of the words currently stored in localStorage

remove - will remove a single word from localStorage

clearstorage - will remove all words from localStorage

export - will create a text/plain file from the words in localStorage and provide a download link to that file

load-file - creates an upload link that allows you to upload a file. All words in the file will be added to the current nimf session (but will not be added to localStorage)

list - will list all of the words currently stored in localStorage


The above features should make it possible to actually _use_ nimf from a browser if someone were inclined to do so. I dont imagine anybody is as there are many better languages and tools out there, but it has been a stellar experience working on it. I may even try to work through the pain in the butt that memory management for strings has turned out to be.


I also did a small amount of styling to the site. For any that are curious and did not check it out from the last post:


Nimf-wasm (WWW)


Slices of breadpunk


Fellow gemlog.blue member acdw asked awhile back if I would mind sharing the source for gemlog blue in order to use it for a project of their own. After some back and forth I shared the source and had mostly forgotten about it. Today I was looking at the gemini mailing list for the first time in awhile and came across an announcement that they had launched their site:


https://slice.breadpunk.club/


It should seem very familiar for gemlog.blue members, but has some really nice additional styling and different textual information. I'm really excited to see that acdw got this up and running! So cool!


Etc.


I dont really have much else. I'm tired and cranky and want to read more of my book. Have a good night!

-- Response ended

-- Page fetched on Sat Apr 20 02:29:57 2024