Follow us on Twitter!
I'd prefer to die standing, than to live on my knees - Che Guevara
Wednesday, April 23, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 18
Guests Online: 17
Members Online: 1

Registered Members: 82885
Newest Member: ConiBE
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Page 1 of 2 1 2 >
Author

Your dream programming language


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-03-09 01:23
I realize this might be hard to get people to do, but I'll give it a go.

If you got to put your own programming language, what would it look like?

To save a few lines, don't write down the entire syntax (doubt anyone would do that anyway). Just say, this functionality from that language and this from that. And if you're lucky, maybe there already is such a language you just don't know about. Shock Grin

I guess I'll start. Kinda hard because I haven't really thought of this before.

The basic syntax and speed of C++
The amount of built-in functions of PHP
The compatibility of Java

I realize this is just a very shallow description, but feel free to go more in-depth. Smile


Author

RE: Your dream programming language


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-03-09 01:42
MoshBat wrote:
It would have two functions:
Code
GetPorn()
HidePorn()




Haha. Nice one. xD


Author

RE: Your dream programming language

p4plus2
Member

Your avatar

Posts: 167
Location:
Joined: 31.03.08
Rank:
Newbie
Posted on 10-03-09 01:47
Mine would look kinda like this
Code

%include <iostream>
%include "my_header_file.h"
%define PI 3.1415926535897

$string(string) = "hello world";
$number(int) = 5;

~This is a comment for one line

/~ This is a multi line comment
and though type casting vars isn't required
I included it for this example ~/

disp<<PI;
int function add($a,$b){
     return a+b;
     ~notice  after a variable is defined there is no need to use the $ anymore
}
long function add($a,$b){
     return a+b;
     ~overloading is aloud
}
if(defined(PI)){
     disp<<"go pi!!";
}
class box{
     function box(){
        disp<<"I have a box";
     }
     function %box(){
          disp<<"aww no more box!";
     }
}





Defiantly, could use improvements and there are things I would change but this is kinda just a estimate. It is somewhat of PHP with a C++ twist(mainly to be used for computer programmers transferring out of PHP I suppose)

EDIT: However, I do like moshbat's functions I'm sure I could fit them in :P

Edited by p4plus2 on 10-03-09 01:48
p4plus2@hotmail.com
Author

RE: Your dream programming language


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-03-09 01:53
Very nice p4plus2. Grin
I would definitely try it if it was available.


Author

RE: Your dream programming language

p4plus2
Member

Your avatar

Posts: 167
Location:
Joined: 31.03.08
Rank:
Newbie
Posted on 10-03-09 01:55
Only issue is a started using to many different symbols...After thats fixed it would be quite nice I think.
p4plus2@hotmail.com
Author

RE: Your dream programming language


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-03-09 02:02
also you should leave << for the bitwise left-shift. asides from that looks great.


Author

RE: Your dream programming language


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-03-09 02:07
p4plus2 wrote:
Only issue is a started using to many different symbols...After thats fixed it would be quite nice I think.


Well, nothing is perfect the first time, right? Wink


Author

RE: Your dream programming language

p4plus2
Member

Your avatar

Posts: 167
Location:
Joined: 31.03.08
Rank:
Newbie
Posted on 10-03-09 02:11
"If at first you don't succeed, your probably a programmer" ~unknown
Yeah I know the feeling Pfft
p4plus2@hotmail.com
Author

RE: Your dream programming language


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-03-09 02:14
p4plus2 wrote:
"If at first you don't succeed, your probably a programmer" ~unknown
Yeah I know the feeling Pfft


Yeah, there's always something you miss the first time. Pfft


Author

RE: Your dream programming language

clone4
Member



Posts: 586
Location: He is back and he's bad!
Joined: 25.11.07
Rank:
Mad User
Posted on 10-03-09 02:17
my dream language?
Perl 6, if it ever comes out, that is my dream language--> still very perl like, but with much more cleaner syntax, more string manipulation, faster interpretantion and so on and so forth... Kicking pythons ass in every aspect so hard, it won't be able to sit down for a years



[img][/img]img164.imageshack.us/img164/5713/perlvl0.jpg

clone4.freehostia.com/ubuntu_3.png
spyware - "They see me trollin'..."
<yaragn> ever seen that movie? The Matrix?
<yaragn> with those green lines of flying text?
<yaragn> *THAT'S* Perl

clone_4@hotmail.com
Author

RE: Your dream programming language

clone4
Member



Posts: 586
Location: He is back and he's bad!
Joined: 25.11.07
Rank:
Mad User
Posted on 10-03-09 02:24
MoshBat wrote:
Folks, be honest. You would use my dream language. It really does cover all your computing needs.


I think you can be way more general, it pretty much covers the purpose of today internet as it is...
(also h4xx($ip) function would be appreciated though)


[img][/img]img164.imageshack.us/img164/5713/perlvl0.jpg

clone4.freehostia.com/ubuntu_3.png
spyware - "They see me trollin'..."
<yaragn> ever seen that movie? The Matrix?
<yaragn> with those green lines of flying text?
<yaragn> *THAT'S* Perl

clone_4@hotmail.com
Author

RE: Your dream programming language

bl4ckc4t
Member

Your avatar

Posts: 591
Location: /etc/
Joined: 07.03.06
Rank:
Wiseman
Posted on 10-03-09 02:47
Code

-include "Windows.Functions"
-define title "Website Shell Include Program"
// My Dream Programming Language
start.main[WEBSITE,WEBARGUMENTS,SHELL]
{
set string argument.1 = WEBSITE;
set string argument.2 = WEBARGUMENTS;
set string argument.3 = SHELL;

use argument.1(if argument.1 defined) else exit;
use argument.2(if argument.2 defined) else exit;
use argument.3(if argument.3 defined) else exit;

VK_F1 = help.chm
VK_F2 = open (argument.1,argument.2,argument.3)

}






This language takes a syntax similar to C and C++, makes it as easy to learn as Python, Ruby, and Perl. It would be as fast as ASM and would have the same portability as Java, with the capabilities of outputting HTML to use as a web application.


Author

RE: Your dream programming language


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 10-03-09 03:46
Shit MoshBat, you really have your porn covered.
Hah SteelPornFrom($ip)
Well at least we know where to leach it from now.
Author

RE: Your dream programming language

fashizzlepop
Member



Posts: 482
Location: Old folks home.
Joined: 08.04.08
Rank:
Moderate
Posted on 10-03-09 03:47
I have actually thought of this before... I would create an EVEN MORE basic BASIC. It would be called ADD. Almost all functions would have 3 letter titles that way once you know them all you can type it SUPER quick. Ie.

Code

icl /pr0n.add; "This is a comment (rarely used)  and icl is an 'include'"
icl /hide.add;

use fnc grb "Use function 'grab' which returns variable $tits"
{
if $tits=8 [px] thn ($pnis=$pnis+5) "if loop"
els ($pnis=0); "semicolon for phrase breaks"
ech Growth amount: $pnis; "ech is like echo"
END "heres where BASIC comes in lol"





I'd say a crude version of php and basic... Maybe a lil C?

What do you guys think?


"The definition of insanity is doing the same thing over and over again and expecting different results.
~Albert Einstein~


csullivan.codeinspire.net/images/boomsig2.png
fashizzlepop@gmail.com http://csullivan.codeinspire.net/
Author

RE: Your dream programming language

p4plus2
Member

Your avatar

Posts: 167
Location:
Joined: 31.03.08
Rank:
Newbie
Posted on 10-03-09 04:11
Its a nice concept but to small can cripple a language, unless your only goal is to save space. You could replace ech with out though that may help a bit. Or replace inl with inc. But thats just me.

Edited by p4plus2 on 10-03-09 04:12
p4plus2@hotmail.com
Author

RE: Your dream programming language

fashizzlepop
Member



Posts: 482
Location: Old folks home.
Joined: 08.04.08
Rank:
Moderate
Posted on 10-03-09 04:14
Well use three letter abreviations for the most used terms and 4 for the rest. Yah, your suggestions would help...

This would just be used for super fast simple programming. THat's why I call it ADD.


"The definition of insanity is doing the same thing over and over again and expecting different results.
~Albert Einstein~


csullivan.codeinspire.net/images/boomsig2.png
fashizzlepop@gmail.com http://csullivan.codeinspire.net/
Author

RE: Your dream programming language

bl4ckc4t
Member

Your avatar

Posts: 591
Location: /etc/
Joined: 07.03.06
Rank:
Wiseman
Posted on 10-03-09 04:48
fashizzlepop wrote:
I have actually thought of this before... I would create an EVEN MORE basic BASIC. It would be called ADD. Almost all functions would have 3 letter titles that way once you know them all you can type it SUPER quick. Ie.

Code

icl /pr0n.add; "This is a comment (rarely used)  and icl is an 'include'"
icl /hide.add;

use fnc grb "Use function 'grab' which returns variable $tits"
{
if $tits=8 [px] thn ($pnis=$pnis+5) "if loop"
els ($pnis=0); "semicolon for phrase breaks"
ech Growth amount: $pnis; "ech is like echo"
END "heres where BASIC comes in lol"





I'd say a crude version of php and basic... Maybe a lil C?

What do you guys think?


Attention Deficit Disorder seems like a language you lose focus on constantly :P




Edited by bl4ckc4t on 10-03-09 05:31
Author

RE: Your dream programming language

p4plus2
Member

Your avatar

Posts: 167
Location:
Joined: 31.03.08
Rank:
Newbie
Posted on 10-03-09 04:50
Based on some of his variable names it looks like he was straying away from the point a bit Pfft
p4plus2@hotmail.com
Author

RE: Your dream programming language

fashizzlepop
Member



Posts: 482
Location: Old folks home.
Joined: 08.04.08
Rank:
Moderate
Posted on 10-03-09 05:01
Consider me extending Moshbat's idea. It's meant that if you can code as fast as someone who is in 6th gear if you know what I mean. Ie. For quick thinkers and people high on caffeine.


"The definition of insanity is doing the same thing over and over again and expecting different results.
~Albert Einstein~


csullivan.codeinspire.net/images/boomsig2.png
fashizzlepop@gmail.com http://csullivan.codeinspire.net/
Author

RE: Your dream programming language

spyware
Member



Posts: 4192
Location:
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 10-03-09 07:43
fashizzlepop wrote:Ie. For quick thinkers and people high on caffeine.


Perl?



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
[center]�Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?� - Ebert[/ce
Page 1 of 2 1 2 >