I have a problem with scheme:
I'm building an evalutator for scheme expressions that works on the web.
It takes a sheme expression from a socket [for example: (define t 6) (+ t
t)] and stores it in a string called dati.
I need to evalutate such string and store the output of the evalutation in
another string [result].
with something like this:
;##########################################
(define (valutazione dati)
(define portainput (open-input-string dati))
(define portaoutput (open-output-string))
(define (nsp_eval expr)
(define result "")
(set! result (eval expr))
(display result))
(display "OK, valutation function; Recived data: ")
(display dati)
(newline)
(display "Evalutated data: ")
(nsp_eval dati))
;##########################################
But it doesn't works...
Someone can help me please ???
Filippo De Grandi
Received on Mon Aug 31 1998 - 18:24:14 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST