Python and SML

Bjorn Pettersen BPettersen at NAREX.com
Mon Jun 11 14:26:26 EDT 2001


> From: Andrew Koenig [mailto:ark at research.att.com]
> 
> >> From: Andrew Koenig [mailto:ark at research.att.com]
> >> 
> Daniel> I am new to Python and was struck by the similarity to 
> Daniel> a language I learned in a programming languages course,
> Daniel> SML/NJ.  It, like Python, is an interpreted language...
> >> 
> >> SML/NJ interpreted?  How's that again?
> 
> Bjorn> Both interpreted and compiled (even has an interactive 
> shell :-)
> 
> The implementations I've seen compile everything, even interactively
> typed statements.

Yes, everything is compiled into a "heap image", which is architecture
dependent (which can be exported and transformed into an executable).
I'm sure we can agree that makes it compiled, but then Python "compiles"
to Python VM instructions <wink>...

-- bjorn




More information about the Python-list mailing list