["Ian Bicking" <bickiia_at_earlham.edu>] Tcl->Scheme v0.1

From: Harvey J. Stein <hjstein_at_bfr.co.il>
Date: 04 Feb 1999 10:45:55 +0200

Since you were asking about TCL->Scheme translations...

------- Start of forwarded message -------
Date: Tue, 23 Jun 1998 22:32:40 -0500 (CDT)
From: "Ian Bicking" <bickiia_at_earlham.edu>
Reply-To: bickiia_at_earlham.edu
Message-Id: <81235.bickiia_at_earlham.edu>
To: guile_at_cygnus.com
Subject: Tcl->Scheme v0.1

All that mucking about with Similix and partial evaluation taught me
something: never depend on other people's experimental tools. No longer can
you get by on will, you also need luck.

So I've written it all over again. This time it uses no outside tools and,
relatedly, it really works. It does straight translation with a few added
tricks to deal with Tcl's interpreted nature.

It parses just about all the the Tcl syntax (which isn't much, really) and
includes a good portion of the primitives. The ones that are missing are
mostly because they annoyed me and I was lazy. Particularly pattern
matching. There's otherwise no structural reason any of the primitives
couldn't be implemented.

The translated code is dog-slow, but that probably can be fixed fairly
easily. All the variable stuff has to be redone, and I think this is a
fair bit of the problem. But for the moment I'm concerned more with
correctness.

It also contains its own little object system, which does nothing but deal
with the notion of a value having many representations (i.e., everything is
a string, but it can also be a boolean, script, variable name, etc.) A real
object system would, of course, be much nicer (hint hint nudge nudge), but
this does its small job in a decent enough way, I suppose.

I'd be happy for somebody(ies) to test it, criticize it, find bugs, fix
bugs, implement missing features, ask questions about it, or some subset of
those things. You can download it at:

http://www.cs.earlham.edu/~bickiia/tcl-scheme/tcl-scheme_0.1.tar.gz

Happy scheming...

       -- Ian Bicking <bickiia_at_earlham.edu>

------- End of forwarded message -------

-- 
Harvey J. Stein
BFM Financial Research
hjstein_at_bfr.co.il
Received on Thu Feb 04 1999 - 09:47:04 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST