ok this is to go along with my file extensions post. (I thought I might as well learn about that before I get started). but does anyone have good tutorial on how to make a programming language. I've searched online found one good tutorial, but the sight is not displaying right.(already tried compatibility view). here are my basic features
compiled ,interpreted ,don't care
basic looping: while ,for
basic branching: if
string input
string output
You should care, this is the biggest design decision one makes when designing a programming language.
Also bear in mind that this is a topic that people take years of classes on in college, so there isn't so much a "tutorial" on it readily available. With that said, it'll be worth your time to check sites such as ocw.mit.edu and look around for classes on compiler programming.
I hope this isn't too discouraging, but compiler programming is incredibly difficult so it's going to take a lot of determination on your part, but is totally doable.
Yes, I do argee with supperpiccle. In almost cases you should not try to make a programming language. My intepreter itself is very complex although it's based on C++, and if you want to implement this by assembly... Unless you have a large team or you want to improve your programming skill otherwise in my opinion it only wastes your time...
I have a feeling that many people are confusing language design with translator (compiler or interpreter) programming.
Language can be designed with pen and paper alone, although a proof-of-concept translator is essential for experiments.
In house made scripting languages are all over the place. Really. It is incredibly common for a company to create a custom language to interface with some product of their's, as far as I can tell most often with system level programming.
It's a shame the interactive roster of programming languages is gone, it listed "8512 languages, complete with 17837 bibliographic records featuring 11064 extracts from those references", and that was quite a few years ago.
Then what is ascii? i know that you learn from it but where would you ever use it again?
There you go: you learn from it. Furthermore hobbies are fun and worthwhile. Pursuing interests and knowledge is good, I don't see why anyone would advise against it.
Yes, I do argee with supperpiccle. In almost cases you should not try to make a programming language. My intepreter itself is very complex although it's based on C++, and if you want to implement this by assembly... Unless you have a large team or you want to improve your programming skill otherwise in my opinion it only wastes your time...
Might want to follow your own advice. Can't want to see yours (Sarcasm) :). Sorry to bring some flaming to this thread.
i know that you learn from it but where would you ever use it again?
I learned how to do long division in elementary school. I haven't actually used that information since then, I have a calculator for that.
Whether or not I'll ever do long division by hand again is irrelevant; the knowledge I've gained and mental connections I've made are what really matter.
You can hardly ever take things at face value. Once you learn that, you're able to open so many more doors in life.