New programming language

Posted by Chaz on Sept. 24, 2008, 6:49 p.m.

Yeah, I want your ideas on what makes a good programming language. I'm getting very close to an actually testable assembler and I'm going to design a higher language compiler for the the assembler to layer out. So far I'm working on the arithmetic stack tree(what make's expressions and parenthesis so awesome). So what features would you like to see in the new language? Some name suggestion perhaps(keep it to a minimum of 5 derogatory words)? So far I can't think of anything but a C clone, hah.

Comments

Siert 16 years, 1 month ago

You could name it A(wesome).

Features? Easy draw functions, like:

var pic;

pic = sprite_load("/assets/awesome.png")

draw_sprite(x,y,pic)

I find that that is what most languages lack. (correct me if I'm wrong)

Good luck, I have no idea what your coding experience is, so, i have high doubts.

KaBob799 16 years, 1 month ago

Make it PHP style =D

Chaz 16 years, 1 month ago

I'm very experienced, rest assured. And I've gotten really far in my operating system, multi-tasking and such. So I have great knowledge about x86 processors. I am programming uh..well I'm very obessive about it, so don't doubt me >.< Instead, have high expectations, XD

As for the style of the language, I like to stay away from tedious declarations. Such as "var pic;" I think the programming language should be based on speed and versatility. And have advance macros such as multiple script preprocessors such as this:

#start makelistoffuncs(amount)

for (i=0;i < amount; ++i)

define "void thisfunction"+as_string(amount)+"(int integer)"

define \

"{" \

"callsomething(" + as_string(amount) + ", integer);" \

"}"

#end

This would write the function thisfunctionXX(int integer) 10 times where XX in the integer. That's the macro part, that I have to implement.

Why would I make it PHP style? It's a programming language to build applications, not communicate between computers.

s 16 years, 1 month ago

Python block syntax is pretty, don't forget readability

Chaz 16 years, 1 month ago

I'll recommend using a bigger font, lol. kidding.

Alright, python code looks very good, I'm considering it. Unless there is any other suggestion.

SteveKB 16 years, 1 month ago

I think you should name it D since that is the next in line anyways.

s 16 years, 1 month ago

D already exists

Cpsgames 16 years, 1 month ago

Yeah, so use E.

RC 16 years, 1 month ago

Name it E.

Kaz 16 years, 1 month ago

Name it C+++.