Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

I made a python implimentation in 2 lines

Name: Anonymous 2009-03-30 22:02

its so cool i figurd out this function called exec today and i figured out how to make FULL PYTHON in two lines of code here it is
[code]
while 1:
  exec(raw_input('enter python code'))
[code]

it reely works try it for ur self lets see c++ do that >:D

Name: Anonymous 2009-03-30 22:15

Wow. That would have been pretty cool 50 years ago.

Name: Anonymous 2009-03-30 22:16

So, is this how Pypy re-implemented Python in Python?

Name: Anonymous 2009-03-30 22:58

Yo dawg, we put exec oh fuck this in your shiiiiiiiiiit so you can NANOHA SHITCUNTS while you NANOHA SHITCUNTS .

Name: Anonymous 2009-03-31 0:42

>>4
NANOHA SHITCUNTS is the best thing about FIOC.

Name: Anonymous 2009-03-31 2:12

INGENIUS

Name: Anonymous 2009-03-31 2:28

>>2
/sign

Name: Anonymous 2009-03-31 7:19

(loop (print (eval (read))))

Lisp was doing it in one line 50 years ago.

Name: Anonymous 2009-03-31 7:49

This thread is bad and you all (except >>8) should feel bad.

Name: Anonymous 2009-03-31 8:47

>>8
shell script did it in one line too:
while true; do `read -e`; done

Name: Anonymous 2009-03-31 8:50

>>10
sh

Name: Anonymous 2009-03-31 9:15

It's not as good as my three character Ruby implementation

Name: Anonymous 2009-03-31 9:33

>>12
Typing ``irb" doesn't count

Name: Anonymous 2010-11-26 22:38

Name: Anonymous 2010-12-28 15:29

Name: Anonymous 2011-02-02 23:26

Name: Anonymous 2011-02-04 15:27

Name: Anonymous 2011-02-04 16:46

Name: TLC 2012-01-23 23:34

A dub is a guy who thinks he's fly ...

Nooooo ....

Name: TLC 2012-01-23 23:34

Duuuuuubs ...!

Name: Anonymous 2012-01-23 23:40

>>22
You necrobumped a thread from 2009 just for dubs!?
That's fucking awesome!

Name: TLC 2012-01-24 0:29

Rub a dub dub, thank god for the grub.

Name: TLC 2012-01-24 0:29

Fuck subtitles ... dub it!

5*5 GET

Name: TLC 2012-01-24 0:30

I gots me an '80 vintage JVC ghetto blaster, homie.

Two casette decks.

HIGH SPEED DUBBING!

Name: Anonymous 2012-01-24 0:44

3^3 GET

Root-dub!

This Dub's for you.

Name: Anonymous 2012-01-24 1:45

>>8
What an UGLY syntax

Name: Anonymous 2012-01-24 1:49

>>28
while 1:
  exec(raw_input('enter python code'))

Name: Anonymous 2012-01-24 1:53

>>28
There is no syntax.

Name: Da Mersennary 2012-01-24 2:00

A set of five Craftsman bits, from Sears!

Name: Anonymous 2012-01-24 8:37

while (<>) { eval; }

bad thread

Name: Anonymous 2012-01-24 8:49

<-- check'em

Name: Anonymous 2012-01-24 8:53

also ruby whatever

loop{eval gets}

Name: Anonymous 2012-01-24 9:14

#include <stdio.h>
#define LINE_SIZE 200

int main(void) {
  char code[LINE_SIZE];
  while (1) {
    fgets(code, LINE_SIZE, stdin);
    FILE *pf = fopen("temp.c", "w");
    fputs(code, pf); fclose(pf);
    system("gcc -include stdio.h -o temp temp.c && ./temp");
  }
  return 0;
}

Don't change these.
Name: Email:
Entire Thread Thread List