Link to home
Start Free TrialLog in
Avatar of raladin
raladin

asked on

How to make a web language?

Hi!

How can I make a language like PHP which can be used for Web Applications.. does it differs if it is for Linux or Windows?

Can you guide me please.. and how does the commands executed on the server? are they compiled using a special compiler for PHP?? to which language is it translated?


Thanks!
Avatar of raladin
raladin

ASKER

And please also explain how to make a language which is translated into C++.. I'm totally new to this field.
So you want to make a web language, that would be server side, but do not know any programming ? I think that you want to tackle something too big for your current knowledge.

About PHP, thee syntax is not different from Windows, Mac or Unix/Linux. It is not a compiled language, but interpreted language. Which means that it is sent to the PHP Interpreter, and the output is sent to the browser on the fly. Each time you re-load the page, it is read, and interpreted by the server side, then sent to the browser.

There is no special compiler, and as indicated above, all you need is the PHP Interpreter. You can find it for free on the web. If you would like to learn PHP, there are a lot of ressources about it on the web.

About the explanations to translate to C++, I'm not too sure I understand where you are going with this. If you want to know how to create a compiled language, then you would need to program a compiler, that would read the basic imput that you write, and change it to binary, so the computer can understand.
Avatar of raladin

ASKER

I know PHP and C++.. but what I mean is how to make them?

How can I make a language like PHP?

And how can I make a translated version (Arabic) of C++?

Like to translate all identifiers and and keywords (cout, if, ...) then what to do after translation??
ASKER CERTIFIED SOLUTION
Avatar of rain79
rain79
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial