lexi

i like breaking computers

  • it/its, #[deprecated] she/her
  • ./a.out

i like rust, nix, linux, infosec, webdev and i shitpost a lot. ctf player and so-called "security researcher". aroace, agender, nb, nd, disabled, &, ΘΔ :3 🏳️‍⚧️ 🟨⬜️🟪⬛️

picrew: #1322863


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