Pascal + HTMX
This is the mininal example, there are more in the examples folder.
Click me to call the Pascal CGI!
Note that the page is not reloaded
and HTMX will do the work of JS for you.