mpcjanssen / tcljupyter

Tcl kernel for Jupyter
10 stars 1 forks source link

Remove tcl-zmq dependency #4

Open mpcjanssen opened 3 years ago

mpcjanssen commented 3 years ago

I am working on a Tcl only zmq library with enough functionality to handle jupyter communications.

mpcjanssen commented 3 years ago

Now at the level that the actual messages arrive at the Tcl level:

<<<< shell (54708:ROUTER)
\x01\x09<IDS|MSG>\x01@60ea8137a923ffbc143783bed720cabfce9f1e2c13eed6f1d6262be1d86ba68e\x01\xc3{"date":"2020-12-30T19:18:32.061Z","msg_id":"ab81dee6-4a2b-4248-acc7-79d72f172b84","msg_type":"kernel_info_request","session":"fd0c07d6-6d98-4036-b0f9-029d2c90aa76","username":"","version":"5.2"}\x01\x02{}\x01\x02{}\x00\x02{}
mpcjanssen commented 5 days ago

Another option to realize this is to use python itself to handle the ZeroMQ integration and use a socket to a Tcl process to handle the communication. This is inspired by https://github.com/guysv/ilua