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

Programming language idea

Name: Anonymous 2011-01-25 19:32

Hi /prog/,
I have an idea for an esoteric programming language.
It will be called BitFuck and will have bitshift operators for I/O, ambiguos syntax and will have lambdas. Also vectors and hashmaps.

Here's some example code:


template<int n>
struct f { enum { value = n * f<n-1>::value };};
template<>
struct f { enum { value = 1 };};

int main() {
   cout << /* output with bitshift? who would ever think something so stupid! LOL */ f<f<3>::value+1<f<2>::value>::value; // I'm a genious, this shit is unreadable
}

Name: Anonymous 2011-01-25 20:04

spread the word: thread ignored

Name: Anonymous 2011-01-25 21:24

lol

Name: Anonymous 2011-01-25 22:00

To me << and >> were always visual metaphors rather bitshifting operators when used for IO.
As in ``push this shit into the function on the left".

Name: Anonymous 2011-01-25 23:00

>>4
push this shit into the function
U MONAD HASKAL!
f >>= x

Name: Anonymous 2011-01-26 4:11

>>1
How the fuck did you manage to sell your indecipherable bullshit toy language to more than half of developers in my company 10 YEARS BEFORE YOU EVEN INVENTED THE LANGUAGE

Name: Anonymous 2011-01-26 5:41

>>1
// I'm a genious, this shit is unreadable

This made me giggle rather heavily

Name: Anonymous 2011-01-26 6:08

>>7
VALID PERL CODE

Name: Anonymous 2011-01-26 7:59

>>6
I chortled.

Name: Anonymous 2011-01-26 12:09

>>1:4: error: template specifiers not specified in declaration of ‘template<int n> struct f’
>>1:4: error: redefinition of ‘struct f<n>’
>>1:2: error: previous definition of ‘struct f<n>’
>>1: In function ‘int main()’:
>>1:7: error: ‘cout’ was not declared in this scope
>>1: At global scope:
>>1:2: error: template instantiation depth exceeds maximum of 500 (use -ftemplate-depth-NN to increase the maximum) instantiating ‘struct f<-0x000000000000001f1>’
>>1:2:   instantiated from ‘f<-0x000000000000001f0>’
>>1:2:   instantiated from ‘f<-0x000000000000001ef>’
>>1:2:   instantiated from ‘f<-0x000000000000001ee>’

>>1:2:   instantiated from ‘f<-0x00000000000000003>’
>>1:2:   instantiated from ‘f<-0x00000000000000002>’
>>1:2:   instantiated from ‘f<-0x00000000000000001>’
>>1:2:   instantiated from ‘f<0>’
>>1:2:   instantiated from ‘f<1>’
>>1:2:   instantiated from ‘f<2>’
>>1:2:   instantiated from ‘f<3>’
>>1:7:   instantiated from here

>>1:2: error: incomplete type ‘f<-0x000000000000001f1>’ used in nested name specifier

Name: Anonymous 2011-01-26 12:11

>>10
Your BitFuck interpreter is not standard compliant.

Name: Anonymous 2011-02-02 23:08

Name: Anonymous 2011-02-26 23:00

Damnit, i spent the past hour searching /prog/scrape for this thread, using "genius" as a term... learn to spell, you moron.
More importantly learn to invent a decent language, but spelling should be second on the list.

Name: Anonymous 2011-04-05 17:38

I remember making this thread.

>>13
YHBT.
i spent
IHBT

Name: Anonymous 2011-10-25 16:11

Name: Anonymous 2011-10-25 19:27

I snortgiggled a little inside my mouth.

Name: Anonymous 2013-01-19 14:37

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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