Qbasicnews.com

Full Version: Know your roots!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was thinkin about this for awhile and i was thinkin is all other programming languages created using the earliest programming program like somthing created QB then QB created i dont know FB mabye (yes i know that was created using C++) and so on and so forth
Its strange how some languages come about. C was written so that the authors would have something to write Unix in, it was original written in assembler and then rewritten in C as soon as it was capable of compiling itself. The original C++ compiler was written in C and compiled down to C code which had to be passed to the C compiler to be translated to assembly.

Lisp started as a theoritical language, it was used by a professor to teach some math classes. He (or one of his students possibly?) discovered that a lisp function could be written that would evaluate any lisp program. So he hand coded the first version (not sure of the language) and could then pass his lisp function to the lisp interpreter.

Basically a compiler can be written in any language as long as it is expressive enough. A large number of compilers are written in either C or C++ because of the availability of tools such as yacc and lex.
FreeBASIC is written in FB itself, C is only used in the run-time library. It was bootstrapped using VBDOS until is was capable enough to compile itself.