stosb

wearer of programming socks

  • she/her

mid 20s | bisexual | programmer | european


profile pic: a picrew by Shirazu Yomi
picrew.me/en/image_maker/207297
i use arch btw
xenia the linux fox -> 🦊🏳️‍⚧️
the moon
🌙

lexi
@lexi

and i just replied "oh no. one second" and now i have this:

 /h/l/d/c_css λ cat index.html
<link rel="stylesheet" href="prog.c">
 /h/l/d/c_css λ gcc -Wall prog.c
 /h/l/d/c_css λ ./a.out
Hello from C!
 /h/l/d/c_css λ 

and as rendered CSS:

Hello from CSS!

and it is slightly cursed. feel free to guess how i did it or see the code below lol

cat prog.c
#define css , body:after { content: "Hello from CSS!"; color: #f0f; }
#include <stdio.h>
int main() {
  printf("Hello from C!\n");
  return 0;
}

You must log in to comment.

in reply to @lexi's post:

i was planning on re-implementing JSSS with modern js (e.g. a bunch of proxy objects), never got around to actually doing that but it's really funny