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 - pda

#1
Anything else we might add? / forum problems?
December 19, 2021, 01:46:20 PM
is there any problem with the forum?



every time I try to reply including quote and code I get an internal Server Error
#2
newLISP in the real world / newlisp 10 changes
November 16, 2020, 02:28:03 AM
Hello, I've read in several places, i.e. https://github.com/kanendosei/artful-newlisp">https://github.com/kanendosei/artful-newlisp , there're code that needs to be rewritten to support newlisp 10 changes



Can anybody summarizes what are the changes that need rewritting in order to comply with newlisp >= 10 ?



of course I can crawl the web but it would be nice if some one have a compiled list of changes
#3
Anything else we might add? / weirdness in newlisp
November 15, 2020, 04:02:08 PM
Hi,



I got again weird behaviour coding in newlisp.



I'm using  newLISP v.10.7.5 64-bit on Windows UTF8 libffi  using the NewLisp GS v.1.6

The downloaded zipped version  was a bit lower and then I downloaded the last exe and dll and overwrite the installed ones.



Now when I type this function in edit area of NewLisp GS or in REPL area, it is defined right:


> (define (utf8code c) (cond ((< c 128) "0xxxxxxx") ((< c 2048) "110xxxxx 10xxxxxx") ((< c 65536) "1110xxxx 10xxxxxx 10xxxxxx") ((< c 1114112) "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx")))
(lambda (c)
 (cond
  ((< c 128) "0xxxxxxx")
  ((< c 2048) "110xxxxx 10xxxxxx")
  ((< c 65536) "1110xxxx 10xxxxxx 10xxxxxx")
  ((< c 1114112) "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx")))


but if I add little pretty print to it, then everything goes wrong:



> (define (utf8code c)
(cond ((< c 128) "0xxxxxxx") ((< c 2048) "110xxxxx 10xxxxxx") ((< c 65536) "1110xxxx 10xxxxxx 10xxxxxx") ((< c 1114112) "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx")))


ERR: missing parenthesis : "...(define (utf8code c) n"
> "0xxxxxxx"

ERR: missing parenthesis : "..."11110xxx 10xxxxxx 10xxxxxx 10xxxxxx"��e"


It seems newlisp is not able to figure out function definition is not complete because entering the REPL in command line I get:


> (define (f a)

ERR: missing parenthesis : "...(define (f a)n"


It seems like newlisp 10.7.5 only accepts one liners



Maybe is it a problem terminal not supporting unicode?   I tested with  windows cmd, windows powershell and mobaxterm (cygwin)
#4
I see there's no option to download newlisp-GS in new versions of newlisp and also don't include guiserver.lsp neither



is it deprecated in any way?
#5
Anything else we might add? / error in newlisp 10.7.1
September 25, 2020, 04:23:26 AM
sometimes newlisp 10.7.1 gets mad and is not able to parse s-expressions



I'm using newlisp-gs in windows 10 utf8 version, and sometimes when writting code in newlisp-gs editor it doen't match parenthesis properly and refuses to parse the expressions with weird error aparently related to encoding (even when typeing directly in editor!)



for example I got error like  ERR: missing parenthesis : "...oin fline ","))rn(close fo)rn(close f�F�"



the strange encoding reads (close fh) in code



same behaviour in console repl, with newlisp 10.7.1  run from windows cmd



anyone with similar problems?
#6
It should be great to add a main topic in board index to talk about bugs and weird things happening with newlisp



I don't kow of a bug tracking system for newlisp, is there any?