8 lines
3.4 KiB
Plaintext
8 lines
3.4 KiB
Plaintext
en·vÅos COURIEREVALSERVE
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
COURIEREVALSERVE
|
||
1
|
||
|
||
4
|
||
|
||
By: Christopher Lane (Lane@Sumex-Aim.Stanford.Edu)
|
||
Uses: COURIERSERVE
|
||
COURIEREVALSERVE implements both the client and server routines for the simple remote evaluation server described in the COURIERSERVE documentation.
|
||
The module defines two user functions:
|
||
(REMOTEEVAL FORM COURIERSTREAM [NOERRORFLG]) [Function]
|
||
(REMOTEAPPLY FN ARGS COURIERSTREAM [NOERRORFLG]) [Function]
|
||
COURIERSTREAM is obtained by calling COURIER.OPEN to connect with a host that is running the Courier server and has COURIEREVALSERVE loaded. If the NOERRORFLG is non-NIL, it is returned if an error is signaled by the remote host, otherwise the functions generate an error.
|
||
Due to the removal of ERRORN as of the Lyric release, the error handling is not as informative as in earlier versions. If you are connected to a pre-Lyric host, errors will work as before, otherwise instead of signaling the actual remote error (eg. ªUndefined car of formº) the generic ªRemote evaluation error!º error is raised. This is to maintain backward compatibility in the EVAL Courier program. Hopefully, this will be replaced by a new version of the EVAL program designed to correctly remote the new condition-based error handler. |