• they/them

 
meow.


discordf
backslash_phi
matrix
backslash_phi:matrix.org
You must log in to comment.

in reply to @phi's post:

I've never worked on the GCC codebase ... I wrote a toy compiler for pascal for a school project once and I found that fun, but my brain is not one that's organized well for reading other people's code + comprehending it quickly. GCC seems like a dark labyrinth that I'd really struggle with ;_;

I've bean reading manuals andf examples all day since yesterfay and I still am nof sure exactly whaf I am supposed to do, hehe

Supposedly I jusf need to make a dynamic library thaf has a "plug_init" function and in it I register callbacks to teh command I like, like if I want to add a #pragma meow I jusf need to call teh Pragma Registering function wiff "meow" + a function that will bee called when the pragma is executed

Buf I can'f find full examples of custom pragmas anywhere so idk whaf that callback is supposed to look like, whaf its input is supposed to be, how to use it to output code, etc

So I am jusf decided to hav a side project cuz that was getting too frustrating, hehe

Pinned Tags