From: Krzysztof Kwaśniewski <krzykwas@gm...> - 2011-03-30 14:13:57
I would like to participate in Google Summer of Code this year and
improve the possibilities of debugging Tcl interpreter according to
the project idea presented here: http://wiki.tcl.tk/28091. After
having discussed the problem with the mentor, Miguel Sofer, I want to
introduce myself and ask about any expectations the Tcl community may
have regarding the project.
I study IT (3rd year) and Mathematics (2nd year) at the Gdańsk
University of Technology in Poland. The programming languages I am
most familiar with are C, Java, Python and PHP. Apart from that I also
know other languages in some extent. Although I have not tried Tcl
before, I have recently started learning it.
The non-recursive engine implemented in Tcl is an interesting approach
enabling Tcl programs to use infinitely deep recursion, while the
previous interpreter implementation was strongly restricted by the C
stack space. Now, with the callback registration mechanism, not only
is proper tailcalls and coroutines implementation possible, but also
the Tcl interpreter runs with constant C stack space usage. I would be
glad to investigate the interpreter's internals during this project.
The drawback resulting from NRE implementation is that it makes
debugging complicated, as Gdb is not aware of the internal Tcl
structures. The aim of the project is thus to implement additional Gdb
commands allowing inter alia to easily examine the Tcl interpreter's
call stack and set breakpoints. According to the early search I have
carried out with Miguel, it is possible to extend Gdb in Tcl:
and (providing any problems occurred) Python:
If you have any advice, expectations or questions, please express them
so that the project could be most beneficial to all the Tcl community.
Get latest updates about Open Source Projects, Conferences and News.