Skip to content

Conversation

@Zamy846692
Copy link

@Zamy846692 Zamy846692 commented Nov 27, 2025

I have rebuilt TclSEE - which used the now-defunct Simple ECMAScript Engine - with QuickJS, the modern, small and embeddable JavaScript engine that supports most of the ES2023 specification, into TclQJS.
I have copied the original interface for TclSEE closely, but with a few key changes.

  • You no longer need to specify what JS data type a Tcl value is converted into, just write as you would in JS (unless it is an object)
  • The Tcl commands registered as JS objects now have a much more simplistic interface (see the instructions hv3qjs.c).

You technically need my personal version of QuickJS to to compile it. I have been able to get Hv3 running with TclQJS and it has been able to load some basic DOM testing HTML pages. Massively updated the Hv3 browser itself by adding several new DOM properties and added an error handler for errors that happen inside requestcmd calls (this is a lot).

Accumulative modifications to TkHTML itself mostly consist of code formatting simplifications and minor bug fixes. I also added unspptdcmd a logging command that outputs every time an unsupported HTML/CSS element is encountered.
I also tried fixing the 'Alt-text not loading' and 'side bars disappearing' errors, I'm pretty sure I've figured out what was causing the latter.

There are a few more things may be added to TclQJS.

…om events to DOM nodes. Fixed bug memory management with XMLHttpRequest.
…m the epoch. All CSS 2.1 properties are now allowed by DOM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant