Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

In a language with a metacircular interpreter, how is the first program ever written compiled?

0
Posted

In a language with a metacircular interpreter, how is the first program ever written compiled?

0

Usually, it’s written in another language. For example, one could write a C compiler in Pascal (which existed before C). Once the first C compiler became functional, then it was likely re-written in C itself as a proof of viability of the language. If you work your way back far enough, people were first coding directly in Assembly. Then, Macro Assemblers were invented that made some tasks of hand-coding assembly easier. Of course, the first Macro Assemblers were very likely written in Assembly themselves. As you can imagine, as you work your way towards more and more sophisticated tools, you can begin building simple macro languages which lead to compilers, and then using those tools to write even more complex languages, as we have today.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123