Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Thu, 29 Jan 2004
Lunacy, Scheme, and Python
[via ??? I forgot -- I'm sorry ] Lunacy is a vm/compiler for Scheme that was also to have a front end for a dialect of Python. I wish that this were still being actively developed. It would be great to have something like this for Python.
[23:11] | [computers/programming/python] | # | TB | F | G | 15 Comments | Other blogs commenting on this post

Fixed
Posted by
Ted Leung at Fri Jan 30 01:15:05 2004



I don't think translating languages is very effective -- besides compilers that compile to C, there aren't really any implementations of utility.  And even compiling to C is always a stop-gap, not a real answer.

Or, you get "dialects" ala .NET, where it's really just one language with multiple syntaxes.

At least, that's my conclusion from when I wrote my own
Scheme language translator (in this case translating Tcl to Scheme, which is much easier than Python).  The utility is questionable, and you get an accurate implementation of the language, or you get good performance, but never both, and usually neither.  Jython, as an example, is a useful tool, but only when the JVM is a prerequesite.  CPython will always beat Jython.

From Jeremy's description of the Python to PLT Scheme translator, it sounds like they are hitting the same problems.  The problems probably aren't unsurmountable, but the effort required is probably no less than starting from scratch without a Scheme interpreter.
Posted by Ian Bicking at Fri Jan 30 10:29:04 2004











You can subscribe to an RSS feed of the comments for this blog: RSS Feed for comments

Add a comment here:

You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are: <a href>, <em>, <i>, <b>, <blockquote>, <br/>, <p>, <code>, <pre>, <cite>, <sub> and <sup>.

You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk

Name:


E-mail:


URL:


Comment:


Remember my info?


twl JPG

About

Ted Leung FOAF Explorer

I work at the Open Source Applications Foundation (OSAF).
The opinions expressed here are entirely my own, not those of my employer.

Creative Commons License
This work is licensed under a Creative Commons License.

Now available!
Professional XML Development with Apache Tools : Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Technorati Profile
PGP Key Fingerprint
My del.icio.us Bookmarks
My Flickr Photos


Syndicate
RSS 2.0 xml GIF
Comments (RSS 2.0) xml GIF
Atom 0.3 feed
Feedburner'ed RSS feed

< January 2004 >
SuMoTuWeThFrSa
     1 2 3
4 5 6 7 8 910
11121314151617
18192021222324
25262728293031

Archives
2006
2005
2004
2003

Articles
Macintosh Tips and Tricks

Search
Lucene
Blogs nearby
geourl PNG

Categories
/ (1567)
  books/ (33)
  computers/ (62)
    hardware/ (15)
    internet/ (58)
      mail/ (11)
      microcontent/ (58)
      weblogs/ (174)
        pyblosxom/ (36)
      www/ (25)
    open_source/ (145)
      asf/ (53)
      osaf/ (32)
        chandler/ (35)
        cosmo/ (1)
    operating_systems/ (16)
      linux/ (9)
        debian/ (15)
        ubuntu/ (2)
      macosx/ (101)
        tips/ (25)
      windows_xp/ (4)
    programming/ (156)
      clr/ (1)
      dotnet/ (13)
      java/ (71)
        eclipse/ (22)
      lisp/ (34)
      python/ (86)
      smalltalk/ (4)
      xml/ (18)
    research/ (1)
    security/ (4)
    wireless/ (1)
  culture/ (10)
    film/ (8)
    music/ (6)
  education/ (13)
  family/ (17)
  gadgets/ (24)
  misc/ (47)
  people/ (18)
  photography/ (25)
    pictures/ (12)
  places/ (3)
    us/ (0)
      wa/ (2)
        bainbridge_island/ (17)
        seattle/ (13)
  skating/ (6)
  society/ (20)



[Valid RSS]

del.icio.us linkblog

www.flickr.com

Blogroll

java.blogs
Listed on BlogShares

Locations of visitors to this page
Where are visitors to this page?


pyblosxom GIF