(fwd)potential bug in REPL in newLISP-GS in newLISP v.10.0.1
Posted: Wed Mar 11, 2009 5:17 am
[This message is being forwarded from the USENET newsgroup comp.lang.lisp, where it was originally posted.]
On Wed, 11 Mar 2009 14:02:16 +0900, in comp.lang.lisp Benjamin L. Russell <DekuDekuplex> wrote:
>[...]
>
>According to Section 7 of the "newLISP v.10.0.2 Manual and Reference"
>(see http://www.newlisp.org/newlisp_manual.html#expressions), it
>should be possible to enter multiline expressions into the REPL as
>follows:
>
>>As shown in the following snippet from an interactive session, multiline expressions can be entered by enclosing them between [cmd] and [/cmd] tags:
>>
>> > [cmd]
>> (define (foo x y)
>> (+ x y))
>> [/cmd]
>> (lambda (x y) (+ x y))
>> > (foo 3 4)
>> 7
>> > _
>>
>>Each [cmd] and [/cmd] tag is entered on a separate line. This mode is useful for pasting multiline code into the interactive console.
>
>This works fine in the command-line version of newLISP, as follows:
>
>>newLISP v.10.0.1 on Win32 IPv4, execute 'newlisp -h' for more info.
>>
>>> [cmd]
>>(define (foo x y)
>> (+ x y))
>>[/cmd]
>>(lambda (x y) (+ x y))
>>> (foo 3 4)
>>7
>>>
>
>However, when I try to run the same command in the REPL in the
>GUI-based IDE, newLISP-GS, the following error occurs:
>
>>newLISP v.10.0.1 on Win32 IPv4, execute 'newlisp -h' for more info.
>>
>>> [cmd]
>>(define (foo x y)
>> (+ x y))
>>[/cmd]
>>nil
>>
>>ERR: missing parenthesis : "...))\n[cmd]\n(define (foo x y)\n (+ x y\248\232\""
>>>
>
>I am running newLISP v.10.0.1 on Windows XP Professional, Service Pack
>2.
>
>This problem has been persisting since v.9.4.5. Is this a bug? This
>problem does not seem to be documented in the above-mentioned manual.
>Have any other users been experiencing this problem?
Since the original message was posted in comp.lang.lisp, I would appreciate it if any replies to this message could also be forwarded to the relevant thread, entitled "[newLISP] potential bug in REPL in newLISP-GS in newLISP v.10.0.1," and dated "Wed, 11 Mar 2009 14:02:16 +0900," in that newsgroup as well.
There is a new movement there to start a new comp.lang.newlisp (or possibly comp.lang.lisp.newlisp) newsgroup, but in order to start the newsgroup, it is necessary to demonstrate sufficient interest in newLISP by posting a sufficient number of newLISP-related posts there; your cooperation in this matter would be greatly appreciated.
-- Benjamin L. Russell
On Wed, 11 Mar 2009 14:02:16 +0900, in comp.lang.lisp Benjamin L. Russell <DekuDekuplex> wrote:
>[...]
>
>According to Section 7 of the "newLISP v.10.0.2 Manual and Reference"
>(see http://www.newlisp.org/newlisp_manual.html#expressions), it
>should be possible to enter multiline expressions into the REPL as
>follows:
>
>>As shown in the following snippet from an interactive session, multiline expressions can be entered by enclosing them between [cmd] and [/cmd] tags:
>>
>> > [cmd]
>> (define (foo x y)
>> (+ x y))
>> [/cmd]
>> (lambda (x y) (+ x y))
>> > (foo 3 4)
>> 7
>> > _
>>
>>Each [cmd] and [/cmd] tag is entered on a separate line. This mode is useful for pasting multiline code into the interactive console.
>
>This works fine in the command-line version of newLISP, as follows:
>
>>newLISP v.10.0.1 on Win32 IPv4, execute 'newlisp -h' for more info.
>>
>>> [cmd]
>>(define (foo x y)
>> (+ x y))
>>[/cmd]
>>(lambda (x y) (+ x y))
>>> (foo 3 4)
>>7
>>>
>
>However, when I try to run the same command in the REPL in the
>GUI-based IDE, newLISP-GS, the following error occurs:
>
>>newLISP v.10.0.1 on Win32 IPv4, execute 'newlisp -h' for more info.
>>
>>> [cmd]
>>(define (foo x y)
>> (+ x y))
>>[/cmd]
>>nil
>>
>>ERR: missing parenthesis : "...))\n[cmd]\n(define (foo x y)\n (+ x y\248\232\""
>>>
>
>I am running newLISP v.10.0.1 on Windows XP Professional, Service Pack
>2.
>
>This problem has been persisting since v.9.4.5. Is this a bug? This
>problem does not seem to be documented in the above-mentioned manual.
>Have any other users been experiencing this problem?
Since the original message was posted in comp.lang.lisp, I would appreciate it if any replies to this message could also be forwarded to the relevant thread, entitled "[newLISP] potential bug in REPL in newLISP-GS in newLISP v.10.0.1," and dated "Wed, 11 Mar 2009 14:02:16 +0900," in that newsgroup as well.
There is a new movement there to start a new comp.lang.newlisp (or possibly comp.lang.lisp.newlisp) newsgroup, but in order to start the newsgroup, it is necessary to demonstrate sufficient interest in newLISP by posting a sufficient number of newLISP-related posts there; your cooperation in this matter would be greatly appreciated.
-- Benjamin L. Russell