Something that has been on the list for aeons finally got implemented:
/* -*- c -*- */
#include <stdio.h>
int main(int argc, char **argv)
{
int n;
for (n = 0; n < 5; n++)
printf("dongs\n");
return 0;
}
This uses a real syntax parser (i.e., not the javascript crap that 4chan uses on /prog/), so you have to specify the language inside -*- markers for it to work, at least for now. Heuristics for common lanugages might be a future possibility.
/* -*- lisp -*- */
(defun foo ()
(print "Penis"))
>>2
I think you probably wanted to use a lisp comment there.
Who in the world uses lisp comments nowadays, you moron?
I want to ask him, "do you REALLY want to use lisp comments?"
I want to interrogate him. I want to interrogate him for roughly an hour.
Are you sure you don't just want to try saying "lisp comment"?
-- java --
echo test
-- c --
#include <stdio.h>
int main(int argc, char **argv)
{
int n;
for (n = 0; n < 5; n++)
printf("dongs\n");
return 0;}
what the fuck
Code works like Markdown or Wakabamark – indent by four spaces or a tab.
# -*- perl -*-
lol