why? i want to generate C for my parsers, and I want to generate python, or ruby extensions, and python seems a lot nicer than c preprocessor macros
sticking a builder-dsl atop seems a nice way to get there, even spitting out a makefile to go with the .c and .h files
i like the idea of writing data structures & a gc to go along with it, but who knows if it gets further than a tweet or two
idly mulling over generating C code from python, for various reasons
part of it is the toy parser, i'm already generating python—i could just tweak bits and spit out C from templates—but I want to take a different approach
$ python3 example.py exec
- generating example.c
- building 'example'
Hello, World!
and something like
class Hello(Unit, include=[Stdio]):
@ Function()
def main(self, locals, args):
self.printf("Hello, world!\n")
i guess it's a c-ast dsl in python
did my end of year writeup, as is traditional now https://figg.livejournal.com/349888.html
after my disco binge last year and nile rogers fixation i am pleased to announce i have moved onto city pop
turns out autistic masking is a very effective way to have friendships that only feel like a burden
if i have to grind myself down, if i have go through the humiliation of asking for help and watching the disappointment, i guess i can do that
but, well, when it all goes wrong, and i'm expected to know how to fix it, well, i never learned any good coping strategies or masking for that
i almost feel like i could performatively apologize and get away with it—hit the keyword scans neurotypicals run—they've never cared for behaviour, it shows
i'm bitter, yes
and well, twitter feels like the accumulation of these awkward friendships, both the good, the bad, and the i-have-no-idea-where-i stand ones
i mean, the last time i posted there about "not knowing where i stand", someone, who i do not know where i stand with, replied to it
i really don't know how to handle normal people and what seems to be mostly performative gestures
terrible