Event JSON
{
"id": "0e381b53f059a4aa204f84dcc1628d2594acc7c3a0cdd5e63e4799bbe2e2260a",
"pubkey": "0e0d010099cdae8a709500e46acadaa400a544dcb5a3d12cf7afee8f2ab9f4e2",
"created_at": 1713763850,
"kind": 1,
"tags": [
[
"p",
"0e0d010099cdae8a709500e46acadaa400a544dcb5a3d12cf7afee8f2ab9f4e2"
],
[
"e",
"5241038d39f7d058dccbcdc0f2437a8c943b375624e083cab792ed5c005d58f6",
"",
"root"
],
[
"e",
"957e756d87b2d9d67b3d14c6b662556c842b53b9b522187a40cb45fbd73f3ee6",
"",
"reply"
],
[
"p",
"04f8915424c713657ad6ce59443d28dbdcf5832687c9af560ae388f59276a137"
],
[
"p",
"7b72197f277ff160ad34992bbd89da132eaade5613ef82152afe173419191c0f"
],
[
"proxy",
"https://chaos.social/users/swetland/statuses/112313227707486873",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://chaos.social/users/swetland/statuses/112313227707486873",
"pink.momostr"
]
],
"content": "That's actually how my stage-0 compiler works. I had started writing everything in a minimal dialect of C thinking I'd, at some point, machine-translate it to the target language. It wasn't horrible for the lexer, parser, etc, but data structure wrangling, code gen, etc got increasingly ugly. So I hit the reset button and bolted a super-minimal transpiler-to-C on the lexer+parser. Then I can use that to compile the stage-1 compiler written in (a subset of) itself.",
"sig": "9509e78af05938b7e9b9597773c53a2379984c86db0145b0b2f2ab6d72796c541a029ffb1a9742798afef0e3ad5274b06e0fd8db7b96a62f469428c5bdb27d1e"
}