# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 125
# self = https://watcher.sour.is?uri=https://akkartik.name/twtxt.txt&offset=25
First baby steps in compiling the Mu memory-safe systems language: empty function; primitive stmt; function call.
I've mostly managed to stick to statically allocated arrays so far, but now I need real ASTs. Just leak memory for the first draft.
Seems useful to have a set of consistent lexical conventions. # for comments; . for lookup; / for metadata. e.g cat ~.conf.git.core.pager
But sometimes you do want a separation between dirs and files. So maybe the file system has both, but also supports treating files as dirs?
After various attempts to grep for Tss and whatnot, current plan is to just try to binary-search writes to protected memory in the kernel.
@chameleon Wow, somebody's reading this! What's up?! Nice site!
This should take a lot less code than an optimizing C compiler. There'll be no optimizer, but lots of room for the programmer to optimize.
(But decent error messages if you screw up your register allocation, try to read a different type from a register than you wrote.)
Next stop: a type- and memory-safe compiled language that can occupy C's niche. Manual memory management. AND manual register allocation.
But everything takes too damn long with machine code. Enough fun and games. Resume climbing the ladder of abstraction.
It's taken a year to get here. I want to take a break, do a Lisp interpreter for fun. Just so I can see a computer boot into a Lisp prompt.
But the syntax is nothing more than machine code (with good error messages).
So far I can: create Linux binaries; package them up with a kernel into a bootable image; run it on Qemu or Linode.
@adiabatic Thank you for teaching me about Tauthon!
Today I was reminded of it by a long series of steps that began with an invitation from http://tilde.club. Web surfing at its best.
I've always _loved_ the idea of twtxt, but had no idea so many people are using it.
I can't abide Python, so I'm writing these messages using 'echo', for now..