Qian,

I do not understand all this stuff, but it somehow sounds as if it might have influence on the connection that I use in jfricas. I remember you have an eye on this. Can you confirm?

Thank you
Ralf

To clarify things up:

1. Currently we have stuff like "(PRINC STR *standard-output*)".

2. The above propose is like "(PRINC STR *spad-output*)" where
*spad-output* is bound to a socket-stream and can be switched
at runtime.

3. The following propose uses "(SPRINC STR *spad-output*)",
where SPRINC can do ")spool", and use FFI to print to
*spad-output*, which might be a socket file descriptor.


The usocket Lisp library does not support unix domian socket,
also this higher abstraction differs from our current idiom.

I plan to use the FFI for C functions instead.  (Add new
wrappers for "select", "accept", etc.)

Very preliminary tests show that this approach is workable.

Also with this redesigned architecture, it would be very
easy for SageMath to communicate with FriCAS through socket.
This method should be more stable and support more Lisps
than the call-lisp-from-c method.

- Qian

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/7a0bea57-db88-44f1-a244-65c0bf5e07eb%40hemmecke.org.

Reply via email to