Python Front-end to GCC

Chris Angelico rosuav at gmail.com
Wed Oct 23 02:28:29 EDT 2013


On Wed, Oct 23, 2013 at 9:11 AM, Piet van Oostrum <piet at vanoostrum.org> wrote:
> Mark Janssen <dreamingforward at gmail.com> writes:
>
>>>> ....Is your language Turing complete?
>>>>
>>>
>>> 1) No, it's not.
>>> 2) So what?  That should make it easier to compile to C, if anything.
>>> 3) Don't change the subject.
>>
>> Well, if your language is not Turing complete, it is not clear that
>> you will be able to compile it at all.  That's the difference between
>> a calculator and a computer.
>
> You think a language that is not Turing-complete cannot be compiled?
> What nonsense is that. Please Mark, spare us your nonsense.

HQ9+ can be compiled. By the simple technique of making the original
source into a literal and appending the interpreter, you can make a
compiler. Any language that has an interpreter can, therefore, be
compiled, regardless of Turing completeness or any other attribute.

ChrisA



More information about the Python-list mailing list