Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Update: TCL Compiler

0 views
Skip to first unread message

Andreas Otto

unread,
Mar 23, 2000, 3:00:00 AM3/23/00
to

Hey all together ...

First tests with the C-Backend are successful finished.
The speed improvements are better than expected.
Thank "Scriptics" for the well designed source code.

Here some additional INFO:

1) The Tcl code will build in a dynamic library ?PKG?.so .
2) All the "autoconf" stuff will be generated => ready to use interface.
2.a) Uses the Tcl-TEA environment with some improvements.
3) The "C" code will heavy use the public and the private Tcl C-API.
4) No ???eval??? will be used => no parsing anymore.
5) No dynamic space allocation anymore.
5) The speed improvement will be >>> 2.

How the structure looks like:

test1.tcl => test1.h test1.c
test2.tcl => test2.h test2.c

test1.c:
procedures: proc XYZ ... => int Ot_XYZObjCmd(...)
init: int Ot_test1Init(interp)
+ some additional helper procs ...
Ot_test1Init: covers the global callframe of the file test1
...

Global:
?PKG?.h ?PKG?.c

?PKG?.c:
int Pkg_Init(interp)
Pkg_Init:
call: Ot_test1Init(interp)
call: Ot_test2Init(interp)

All the generated files together:

Makefile.in README.cygwin TestPKG.n install-sh mkinstalldirs
test1.c test2.h
Misc TestPKG.c aclocal.m4 license.terms tcl.m4
test1.h
README TestPKG.h configure.in mkIndex.tcl.in test.tcl
test2.c

-----------------------------------------------------

Expect some pubic examples in 1 Week.
Expect a useful compiler in 3 Weeks.


mfg

aotto :)

--
================================================================
Andreas Otto Phone: ++49-(0)8152-399540
IPN Ingenieurbuero fuer mailto:ao...@t-online.de
Praezisionsnumerik Web: http://home.t-online.de/home/aotto
Ulmenstrasse 3 Skills: Unix,Sql,Tcl,Shell,Sybase...
D-34289 Zierenberg Area: Bank, FX, MM, shares, options
=================================================================

see_pl...@my-deja.com

unread,
Mar 23, 2000, 3:00:00 AM3/23/00
to
In article <38DA4A4A...@t-online.de>,
Will you go to a TCL conference one day to demonstrate your product?
cpp


Sent via Deja.com http://www.deja.com/
Before you buy.

0 new messages