+ 1
How was C made and how can we also make our own programming language ?
What are the tools that we need to make an programming language ?
1 Answer
+ 5
To make a good language, you need a grasp of:
*. How a PC works.
*. How an OS works.
*. System-level API (ie kernel calls, hardware interfaces, blah).
*. Building a compiler _or_ an interpreter _or_ a hybrid (see JIT).
*. A great (no good, great) mind for engineering.
*. ...and likely more that slipped my mind.
Alternately, you could piggyback on another language by designing your language and a cross-compiler. The final object code may have extra overhead and the middle-source would be messy, but DarkBasic was just a set of DLLs and a C++ cross-compiler. Needed:
*. Excellent knowledge of your middle language (C in your case).
*. A free C compiler. GNU comes with rules.
*. Understanding of advanced engineering.
*. Great design.
*. ...to name a few...
How to piggyback?
your lang --cross-cc--> c code
--GNU-cc--> object code.
Looks simpler than it is. Your asking this on SL is proof you're not ready. But don't give up. Study & learn & fight to make your dream a reality.