Does anyone have the source code for SEE_interpreter_init_hostglobal?

23 views
Skip to first unread message

Edward HD

unread,
Jun 9, 2025, 2:04:45 PMJun 9
to tkhtml3
Hello, I am currently working on adding JavaScript support to TkinterWeb. I am trying to compile TclSEE—the original JS engine for TkHTML—but I am unable to do so because neither SEE nor HV provide a definition for SEE_interpreter_init_hostglobal. When I try replacing it with SEE_interpreter_init_compat (as was done previously), the global object (Window) doesn’t work. I know that the version from here works, but that was before this commit. Do you have the source code for SEE_interpreter_init_hostglobal please?

elliot s

unread,
Jun 9, 2025, 5:11:06 PMJun 9
to tkh...@googlegroups.com
(I don't have what youre looking for, but i wrote a tkhtml3 based
browser that i've been trying to create a js interpreter for from
scratch, converting js to tcl.
JS is a horribly loose language and tcl is shell script style instead
of a real language, which makes it really hard.
Would be nice to have a 64 bit bit binary of the tkhtml js interpreter
that can jost be plugged in to tcl.

On Mon, Jun 9, 2025 at 11:04 AM Edward HD <billan...@gmail.com> wrote:
>
> Hello, I am currently working on adding JavaScript support to TkinterWeb. I am trying to compile TclSEE—the original JS engine for TkHTML—but I am unable to do so because neither SEE nor HV provide a definition for SEE_interpreter_init_hostglobal. When I try replacing it with SEE_interpreter_init_compat (as was done previously), the global object (Window) doesn’t work. I know that the version from here works, but that was before this commit. Do you have the source code for SEE_interpreter_init_hostglobal please?
>
> --
> You received this message because you are subscribed to the Google Groups "tkhtml3" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tkhtml3+u...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/tkhtml3/e6d01971-42c1-4552-8c05-f98de17a5ef0n%40googlegroups.com.

Schelte Bron

unread,
Jun 10, 2025, 3:48:04 AMJun 10
to tkh...@googlegroups.com
On 09/06/2025 23:05, elliot s wrote:
> Would be nice to have a 64 bit bit binary of the tkhtml js interpreter
> that can jost be plugged in to tcl.

Have you looked at tcl-duktape (https://github.com/dbohdan/tcl-duktape)?


Schelte.

Edward HD

unread,
Jun 10, 2025, 8:15:38 PMJun 10
to tkhtml3
You could try be compiling TclSEE before this commit. You run make tclsee -f ..//mingw.mk in you Bash terminal (I'm using MingW64) to compile it.

I would love to see the results of this!

Edward HD

unread,
Jun 10, 2025, 8:15:40 PMJun 10
to tkhtml3
Thanks, will you into this!

Edward HD

unread,
Jun 11, 2025, 8:25:12 AMJun 11
to tkhtml3
You could try be compiling TclSEE before this commit. You run make tclsee -f ..//mingw.mk in you Bash terminal (I'm using MingW64) to compile it. I would love to see the results of this!

Reply all
Reply to author
Forward
0 new messages