# HG changeset patch # User HackBot # Date 1355142027 0 # Node ID eec3cca27d0afc02c47443849d55143baf0935d0 # Parent 028fda7b28b187c016fe01da33c21a79037813a1 cat interps/gcccomp/gcccomp | paste diff -r 028fda7b28b1 -r eec3cca27d0a paste/paste.15661 --- a/paste/paste.15661 Mon Dec 10 03:56:41 2012 +0000 +++ b/paste/paste.15661 Mon Dec 10 12:20:27 2012 +0000 @@ -1,56 +1,53 @@ -2005-05-13.txt:09:02:27: that's how I've managed to recover the True distribution (which is based, quite unsurprisingly, in False) -2007-02-19.txt:01:10:06: yes, unsurprisingly, the mathematics behind music is pure mathematics... however there's obviously something missing from a mathematical model. -2007-06-25.txt:19:32:41: i read learning russian was on the way up in finland, or something, unsurprisingly. -2007-12-28.txt:22:13:06: hrmm... no (unsurprisingly) -2008-01-04.txt:18:26:32: Yes. and unsurprisingly, it's in the m combinator section. -2008-01-06.txt:15:13:25: unsurprisingly, I am not surpirised -2008-03-20.txt:16:34:54: unsurprisingly -2008-03-20.txt:16:36:23: unsurprisingly there's no info on the net about running oak draw on windows xp >_< -2008-06-08.txt:15:52:49: registered in Russia, unsurprisingly -2008-06-17.txt:18:00:52: heh, unsurprisingly, spreadfirefox.com is down -2008-09-23.txt:21:37:58: unsurprisingly it fails in lynx -2008-09-28.txt:21:36:50: I think all we got out of that one was few minutes of pointlessness, unsurprisingly. -2008-10-27.txt:20:57:37: In the wiki there's also "Another Pi Language", where the source code is two arbitrary integers; first is the index in pi and second is the amount of digits to read; that is then interpreted as "source file of any language". Unsurprisingly unimplemented. -2008-11-13.txt:17:01:25: Unsurprisingly enough :-P -2009-01-13.txt:18:01:40: which is unsurprisingly what's under localhost in /etc/hosts -2009-01-18.txt:22:05:50: ais523: unsurprisingly, Python is not optimized for entering code over IRC. -2009-03-31.txt:14:13:56: cfunge chokes as badly as CCBI on Mycology, unsurprisingly -2009-04-07.txt:21:33:06: (Unsurprisingly enough) -2009-04-17.txt:18:53:14: Unsurprisingly enough -2009-04-26.txt:20:03:01: Unsurprisingly. -2009-04-26.txt:20:03:12: why "Unsurprisingly" -2009-05-08.txt:20:24:44: Unsurprisingly, doing SSD alignment on an HD isn't very smart :-P -2009-05-08.txt:20:40:36: Lilja's there, unsurprisingly; he's a Haskell guy -2009-05-30.txt:19:09:12: AnMaster: unsurprisingly, you're the only one it bothers. -2009-06-01.txt:10:29:33: Unsurprisingly, we're using the version ais made. -2009-06-23.txt:18:06:23: Unsurprisingly, it devotes 18 lines to defining fst,snd,trd,frth,ffth for tuples up to size 5 -2009-07-20.txt:22:09:40: google, unsurprisingly, can has a logo -2009-09-12.txt:06:01:57: unsurprisingly, it's to run a flight simulator -2009-09-17.txt:21:19:47: In Python, + concatenates; in Perl, it unsurprisingly adds two numbers :-P -2009-11-12.txt:23:29:30: compresses to 21k .ZIP (unsurprisingly) -2010-01-26.txt:22:05:42: I'm missing all of those too, unsurprisingly enough. (And a few dozen others.) -2010-03-12.txt:18:38:25: AnMaster: Only on POSIX, unsurprisingly enough. -2010-04-09.txt:16:50:42: vaeyl dies due to k not working as expected, unsurprisingly enough -2010-04-09.txt:21:36:03: Unsurprisingly enough -2010-04-29.txt:14:50:44: Misread an Amazon title recommendation as "Purely Fictional Data Structures". (Unsurprisingly, they were functional instead. I might have bought a book on fictional ones.) -2010-05-01.txt:02:01:48: It is, unsurprisingly, a char*. -2010-06-19.txt:20:28:12: incidentally, I'm now disappointed I didn't find out about and join the PPCA earlier, because (unsurprisingly) I'm relatively moderate among members when it comes to my views -2010-08-12.txt:23:19:18: It's by a demoscene group, somewhat unsurprisingly. -2010-09-06.txt:16:09:18: Unsurprisingly, the latest version of SIOD does not build out-of-the-box on Linux. This is unsurprising because the latest version of SIOD is from 1996. -2010-10-15.txt:00:28:24: pikhq: Unsurprisingly, it doesn't work. At all. -2010-11-12.txt:20:20:59: Vorpal: Well, mine was a Wikipedia "Random article", unsurprisingly. -2011-02-06.txt:20:23:18: Unsurprisingly most of your code has something to do with types -2011-02-22.txt:19:13:44: Unsurprisingly the interpreter itself is taking most of the time; cat is second and == is fourth. -2011-03-14.txt:16:21:22: and therefore sound, unsurprisingly, like Russians? -2011-03-16.txt:04:38:27: linear algebra teaches, unsurprisingly, linear algebra -2011-07-14.txt:04:41:47: alef++ is, unsurprisingly, horrible -2011-07-29.txt:22:00:37: Heh. Well, Everything is an Object (Except Primitives (Except with Autoboxing)) isn't the best model for a type system, unsurprisingly. -2011-08-23.txt:08:31:28: (And the character is called Marja Tyrni. Most of the information about all this seems to be in Finnish only, unsurprisingly.) -2011-08-26.txt:20:52:22: Text compresses extremely well, unsurprisingly. -2011-09-03.txt:12:20:49: different programs of mine use different decoy setups, unsurprisingly -2011-09-25.txt:21:58:02: There also seems to be an Apple patent for it, unsurprisingly. -2011-10-17.txt:10:36:19: Phantom_Hoover: The "anmaster no not markov" loop comes from elliott using ^echo to talk to an ignoring Vorpal, also unsurprisingly. -2011-12-10.txt:20:14:58: I *was* going to say that a "floader" sounds like one of the fast-loaders you used to see with software distributed on C64 floppies. Was googling if there's one called "fload". (Unsurprisingly, there's at least one.) -2011-12-13.txt:21:44:20: Apparently won't go with lexical scope there, unsurprisingly. -2012-02-07.txt:03:47:44: Unsurprisingly. -2012-02-26.txt:02:26:31: `pastelogs unsurprisingly +#!/bin/bash +LANG="$1" + +case "$LANG" in + c) + HEAD='#include \n#include \n#include \n#include \n#include \nint main(int argc, char **argv) {' + TAIL='; return 0; }' + EXT='c' + GCC='gcc' + FLAGS='-std=gnu99' + ;; + + c++) + HEAD='#include \n#include \n#include \n#include \nusing namespace std;\nint main(int argc, char **argv) {' + TAIL='; return 0; }' + EXT='cc' + GCC='g++' + FLAGS='-std=gnu++0x' + ;; + + assembler) + HEAD='.globl main; main: pushq %rbp; movq %rsp, %rbp;' + TAIL='movl $0, %eax; leave; ret;' + EXT='s' + GCC='gcc' + FLAGS='' + ;; + + java) + HEAD='class Main { public static void main(String[] args) {' + TAIL='; } }' + EXT='java' + GCC='gcj' + FLAGS='--main=Main' + ;; +esac + +SOURCE="/tmp/source.$$.$EXT" + +( + echo -e "$HEAD" + cat "$2" + echo "$TAIL" +) > "$SOURCE" + +"$GCC" -x "$LANG" "$SOURCE" $FLAGS -o /tmp/compiled.$$ 2> /dev/null || +"$GCC" -x "$LANG" "$2" $FLAGS -o /tmp/compiled.$$ 2> /dev/null || +echo 'Does not compile.' +rm -f "$SOURCE" + +ulimit -u 3 +if [ -x /tmp/compiled.$$ ] ; then /tmp/compiled.$$; fi 2>&1 +rm -f /tmp/compiled.$$