Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - DekuDekuplex

#1
In the course of discussing a recent bug (which has since been fixed) with the implementation of the multi-line [cmd]/[/cmd] tags in newLISP-GS on comp.lang.lisp, one reader there claimed in my thread http://groups.google.com/group/comp.lang.lisp/msg/d3ed34f9a7b5b7e5">potential bug in REPL in newLISP-GS in newLISP v.10.0.1, that the very existence of these tags constituted a "fatal flaw"; viz.:


QuoteThere must be  a fatal flaw in this system, if you have to tag your

multiline expressions with an horror such as [cmd][/cmd].



The algorithms to read expressions, whatever the number of lines, have

been know and implemented in Lisp for 50 years.  Perhaps you should

try a Lisp that includes the teachings of history?  Try Common Lisp.



http://clisp.cons.org">http://clisp.cons.org has a MS-Windows executable, and when entering a

multiline expression in the emacs IDE (eg. via M-x inferior-lisp RET),

there's no discernable difference to when entering it directly in the

console.



--

__Pascal Bourguignon__


Out of curiosity, why are these tags necessary in newLISP?



-- Benjamin L. Russell
#2
newLISP newS / promoting newLISP on USENET
March 15, 2009, 10:09:07 PM
newLISP is a fun language with a potential for attracting a wide variety of new enthusiasts, and I feel that it could benefit from wider discussion, including USENET.



I have submitted two http://groups.google.co.jp/group/news.groups.proposals/browse_frm/thread/2390deab5c241e03#">RFD's (Requests For Discussion) for creating a newLISP-specific newsgroup to http://groups.google.co.jp/group/news.groups.proposals/topics">new.groups.proposals, and active http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/2390deab5c241e03#">discussion of my proposal is taking place in http://groups.google.com/group/comp.lang.lisp/topics">comp.lang.lisp.  However, due to a lack of participants who have expressed interest in the idea, the overseers of the Big-8 Group (who oversee creating new newsgroups) are hesitant to create my proposed comp.lang.lisp.newlisp newsgroup.



A significant portion of Lisp-related discussion takes place on such newsgroups as comp.lang.lisp, and creating comp.lang.lisp.newlisp could help to popularize newLISP.  The greater a user base newLISP acquires, the greater its chance of thriving.  If anybody here agrees to the idea of helping newLISP spread on the USENET, could you please indicate your opinion by posting in the thread http://groups.google.com/group/comp.lang.lisp/browse_thread/thread/2390deab5c241e03#">"2nd RFD: comp.lang.lisp.newlisp" on comp.lang.lisp.  newLISPers across the Internet, UNITE!



-- Benjamin L. Russell
#3
[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">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 y248232""

>>>

>

>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