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

Pages: 1-

Show your void.h equilevant

Name: Anonymous 2011-07-07 8:43

Obligatory #define women sqrt(evil) required!!!

Name: Anonymous 2011-07-07 8:46


#ifndef VOID_H
#define VOID_H
#include "lisp.h"
#define repl(in) for(;;)print(eval(read(in)));
#endif /* VOID_H */

Name: Anonymous 2011-07-07 9:02


#ifndef VOID_H
#define VOID_H
#include "void.h"
#endif /* VOID_H */

Name: Anonymous 2011-07-07 9:45


#define foreach(element, iterable)                                      \
  for (Generic * __foreach_iter __attribute__((cleanup(Generic_dptr_cleaner))) = Iterable.iterator(iterable), \
               * element;                                               \
       Iterator.hasNext(__foreach_iter); element = Iterator.next(__foreach_iter))

Name: Anonymous 2011-07-07 10:31

By the way when I wrote >>4 I got an erection.

Name: Anonymous 2011-07-07 10:38

>>4
What language is this?

Name: Anonymous 2011-07-07 10:41

>>2
``faggot'' language

Name: Anonymous 2011-07-07 10:43

>>6

It's GNU-C.

Name: Anonymous 2011-07-07 10:49

>>8
Why would anyone do something awful like that?

Name: Anonymous 2011-07-07 10:52

>>9
Because I want to be able to iterate over my data structures easily.

Name: Anonymous 2011-07-07 11:14

>>10
s/easily/not portably/

Name: Anonymous 2011-07-07 11:22

>>11
I'm not interested in using different compilers, but a lot of modern compilers are GNU-C compatible, besides, I could easily change it to ANSI-C, it just requires a foreach_end macro which does the cleanup.

Name: Anonymous 2011-07-07 17:52

equilevant

Name: Anonymous 2011-07-07 18:22

(foreach 'hax '(my-anus your-anus)) /thread

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