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

Pages: 1-

give me your dick

Name: Anonymous 2012-03-21 14:34

i am going to make a bad programming language. i want it to be one part lua, two parts scheme, a splash of a shot of ruby and perl with some monads and macros. any other shit that would be cool / shit you like in your language of choice

Name: Anonymous 2012-03-21 14:42

I like GOTO and Unicode. You should have complex numbers be a native type and make it impossible for the user to change the purpose of i to anything other than the imaginary unit.

Name: Anonymous 2012-03-21 14:43

Pascal's with keyword.

Name: Anonymous 2012-03-21 14:58

>>3
yeah i'll have something like that.

i'm not sure if i want to have $scalar @array #hash etc. i do want to steal the ruby modifiers or whatever (the 'word'.upcase and 5.to_int shit)

Name: Anonymous 2012-03-21 14:58

Make it so each variable should start with a unused number. All number calculation should use the CALCULATE function.


declare_var 1age;
declare_var 2currentyear = 2012;
1age = 10;
for (5i = 10; 5i < 100)
   print_to_standard_output "In "+ CALCULATE(ADD, 2currentyear, 5i) + "years you will have " + CALCULATE(ADD, 1age, 5i); 
end_for

Name: Anonymous 2012-03-21 15:02

>>5
stop it i don't want to make it a bad language on purpose i just mean it will end up being bad.

Name: Anonymous 2012-03-21 15:08

>>5
I kind of like the "end_for" idea.

Name: retarded 2012-03-21 15:20


<for: i=0; i<10; i++>
  ...
</for>


<sub: function_name, $param1, $param2>
  <if <$shit==$othershit>>
    ...
    <else>
      <if <$boolval> >
         ...
      </if>
    </else>
  </if>
</sub>

Name: Anonymous 2012-03-22 3:19

>>8

That for loop isn't xml enough.



<for>
 <initilization>
  <binary_operator name="=">
   <left_operand>
    <variable name="i"/>
   </left_operand>
   <right_operand>
    <number value="0"/>
   </right_operand>
  </binary_operator>
 </initilization>
 <condition>
  <binary_operator name="==">
   <left_operand>
    <variable name="i"/>
   </left_operand>
   <right_operand>
    <number value="10"/>
   </right_operand>
  </binary_operator>
 </condition>
 <increment>
  <unary_operator name="postfix_increment">
   <variable name="i"/>
  <unary_operator/>
 </increment>
 <body>
  ...
 </body>
</for>

Name: Anonymous 2012-03-22 8:10


class bad {
pubic:
  int<if sepples>
       ...
     </if> NULL =
        (int<for i = 0; i < PI; i++>
              <puts <<< i>;
              ...
            </for>)0;
};

Name: Anonymous 2012-03-22 9:41

I'm holidaying in <<< dubrovnik >>>

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