• Welcome to Valhalla Legends Archive.
 

If you could invent your own language.....

Started by Banana fanna fo fanna, August 10, 2003, 10:44 PM

Previous topic - Next topic

Banana fanna fo fanna

Since I've gone through a horrible experience using PHP on a real-world project, and I refuse to use IIS because of it's security, Java is too expensive and Perl isn't my cup of tea, I've decided to create a new Web scripting language. I'm basing it off of twisted.web and the language I'm going to use is Python.

Now my question is...what do you hate about current languages? What do you think could be fixed? For example, I'm adding custom WebObjects ("server-controls" in ASP) which can be manipulated like a standard Python object, and they can be bound to data. I'm thinking about implementing a way to serialize/deserialize an object to SQL. I'd like to know what bugs you most about your web language, and what you would like to see in a new one.

Thank you for your time.

EDIT: forgot to say that I've already started the project, and if anyone would like some example code or would like to contribute, just ask. It can already do some pretty cool stuff! :)

drake

I don't see whats wrong with PHP besides its lack of OOP support which is changed in PHP 5. PHP is powerful enough to do anything needed in web development yet its such an easy programming language compared to C++, Java, etc. Ya its harder than Javascript and VBScript but those aren't really programming languages in my book.

Adron

#2
Did you know that Python already can be used as a scripting language in ASP? What web server are you developing this for? You're *hoping* to make it more secure than IIS?

Example

Documentation

Banana fanna fo fanna

Quote from: Adron on August 11, 2003, 03:56 AM
Did you know that Python already can be used as a scripting language in ASP? What web server are you developing this for? You're *hoping* to make it more secure than IIS?

Example

Documentation

Yes, I've known about that for some time, however it doesn't play nice with indenting...actually, my bot is scripted using ActiveScript Python now :)

drake

What server are you going to use instead of IIS? We know the other huge alternative but smaller less known mediums exist besides those 2.


drake

Cool, I see you have down your research. Good Luck and keep us updated cause it sounds like some work. Remember quiters aren't remembered so stay on track and don't deter, it happens all too often in the programming world.

Banana fanna fo fanna

I had a whole thing typed out about what's wrong with PHP, but it comes down to it's bad modularity and documentation.

Arta

PHP badly documented?? Get a grip...

Specific examples please before I give you enough positive karma to redeem Hitler :P

Banana fanna fo fanna

Find me a url to the official language spec and I'll say it's well documented.

Arta


Banana fanna fo fanna

Don't see the language spec.

Also, it's really stupid how you can't do this:


$mystr = 'here is a string';
$firstword = split($mystr,' ')[0]; // <--- fails, invalid syntax

WinSocks

with XML you could pretty much design your own scripting language..... close to what the topic name is all about  ;)