Search found 20 matches

by pda
Sat Sep 03, 2022 10:31 pm
Forum: Anything else we might add?
Topic: Destructive set-assoc with FOOP
Replies: 8
Views: 5281

Re:

Sorry to bring up to life such an older post but I think it's interesting to discuss it a bit further Previously, if I wanted to write in an object-oriented style: (context 'Point) (setq x 0 y 0) ; default slot values (define (print-point) (println (format "(%d, %d)" x y))) (context MAIN) (new Point...
by pda
Thu Jan 06, 2022 9:37 pm
Forum: Anything else we might add?
Topic: forum problems?
Replies: 7
Views: 3213

Re: forum problems?

newdep wrote:
Fri Dec 24, 2021 10:47 pm
pasting code ..works again... ;-)
Hallelujah! ;-)

Is it known the reason of failure?
by pda
Sun Dec 19, 2021 10:59 pm
Forum: Anything else we might add?
Topic: forum problems?
Replies: 7
Views: 3213

Re: forum problems?

it seems it is not allowed to type the sentence: n having a with n and a quoted with double quotes ("n" and "a") it also seems it is not allowed to type and eval application in a code block, not (eval) nor "eval" and even it seems you cannot type any word in parens like (x) in a code block very stra...
by pda
Sun Dec 19, 2021 10:35 pm
Forum: newLISP in the real world
Topic: Create a function with a function
Replies: 9
Views: 5210

Re: Create a function with a function

Function to create a function with name and parameters: (define (make-add name val) (let (f nil) (setq f (string "(define (" name " x) (+ " val " x))")) (setq name (eval-string f)) name)) Creating a function (make-add "sum-10" 10) out: (lambda (x) (+ 10 x)) Using the created function (sum-10 3) out...
by pda
Sun Dec 19, 2021 9:46 pm
Forum: Anything else we might add?
Topic: forum problems?
Replies: 7
Views: 3213

forum problems?

is there any problem with the forum?

every time I try to reply including quote and code I get an internal Server Error
by pda
Sun Dec 19, 2021 9:29 pm
Forum: newLISP newS
Topic: Happy Birthday newLisp
Replies: 5
Views: 3379

Re: Happy Birthday newLisp

it seems too old for that a young ! ;-)
by pda
Tue Dec 14, 2021 9:11 pm
Forum: newLISP and the O.S.
Topic: Not start on Win10
Replies: 13
Views: 11942

Re: Not start on Win10

I found a solution, in my system used java from "jre-9.0.1" folder, I rewrote the command like C:\Program Files\Java\jre1.8.0_151\bin\java.exe" -jar .\guiserver.jar 64001 newlisp-edit.lsp and now all work perfect. Unfortunately shortcut still not work: guiserver.jar 64001 newlisp-edit.lsp Error: Co...
by pda
Tue Dec 14, 2021 9:01 pm
Forum: newLISP and the O.S.
Topic: Not start on Win10
Replies: 13
Views: 11942

Re: Not start on Win10

First_Spectr wrote:
Fri Dec 01, 2017 1:44 pm
Interface looks Снимок2.PNG
I think this is more related to wrong paths when executing newlisp-edit.lsp, check the path variables.
by pda
Tue Dec 14, 2021 8:50 pm
Forum: newLISP and the O.S.
Topic: Not start on Win10
Replies: 13
Views: 11942

Re: Not start on Win10

I see this thread is a bit older but I would write something related in case being of any help for anybody I had problems executing guiserver a few days ago, the problem is displayed a "ERR: cannot find working directory" in the console text-area and guiserver was not able to execute newlisp interpr...
by pda
Tue Dec 14, 2021 8:38 pm
Forum: newLISP and the O.S.
Topic: Not start on Win10
Replies: 13
Views: 11942

Re: Not start on Win10

I removed /local/newLISPsplash.png and now I have many errors like "Could not create image-button", but lisp up and running, thanks for that. Where can I find newLISPsplash.png? /local is a valid path, it refers to jar itself, that is files in /local are files stored internally in the guiserver.jar...
by pda
Fri Dec 25, 2020 12:30 am
Forum: newLISP in the real world
Topic: Get rid of (some of) the parentheses with sublisp!
Replies: 5
Views: 5120

Re: Get rid of (some of) the parentheses with sublisp!

I have no problem with the paranthesis and they belong to every lisp. For me a good editor solves the problem with paranthesis checker. I agree but this proposal is a funny one and may be interesting as an option in IDE preferences for pretty printing (define (initial-clauses str) (set 'start (arra...
by pda
Mon Dec 07, 2020 2:16 am
Forum: newLISP in the real world
Topic: Get rid of (some of) the parentheses with sublisp!
Replies: 5
Views: 5120

Re: Get rid of (some of) the parentheses with sublisp!

pretty interesting but just for pretty printing newlisp code, it's not a notation for code input because is harder than real one and also clumsy since you have to keep the count of opened parens in your head to write the right upper number. more interesting would be an editor automatically doing the...
by pda
Mon Nov 16, 2020 10:28 am
Forum: newLISP in the real world
Topic: newlisp 10 changes
Replies: 1
Views: 3143

newlisp 10 changes

Hello, I've read in several places, i.e. 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...
by pda
Mon Nov 16, 2020 12:02 am
Forum: Anything else we might add?
Topic: weirdness in newlisp
Replies: 1
Views: 2682

weirdness in newlisp

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...
by pda
Sat Sep 26, 2020 8:15 pm
Forum: newLISP Graphics & Sound
Topic: is newlisp GS / guiserver abandoned ?
Replies: 1
Views: 3120

is newlisp GS / guiserver abandoned ?

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?
by pda
Sat Sep 26, 2020 8:06 pm
Forum: Anything else we might add?
Topic: error in newlisp 10.7.1
Replies: 6
Views: 5239

Re: error in newlisp 10.7.1

here you are https://pastebin.com/25z78mp3

it's ugly buggy code but not for the issue, you can see parens are balanced
by pda
Sat Sep 26, 2020 1:36 pm
Forum: Anything else we might add?
Topic: error in newlisp 10.7.1
Replies: 6
Views: 5239

Re: error in newlisp 10.7.1

parenthesis are balanced and code is checked both in several editors and repl tests: - code typed in newlisp GS editor and run from it - code typed in external editor (geany and SciTE) and pasted into newlisp GS editor to run from it - code typed in newlisp GS repl - code type in newlisp repl (start...
by pda
Fri Sep 25, 2020 11:27 am
Forum: Anything else we might add?
Topic: error in newlisp 10.7.1
Replies: 6
Views: 5239

Re: error in newlisp 10.7.1

same behaviour in 10.7.4
by pda
Fri Sep 25, 2020 11:23 am
Forum: Anything else we might add?
Topic: error in newlisp 10.7.1
Replies: 6
Views: 5239

error in newlisp 10.7.1

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 (ev...
by pda
Fri Sep 25, 2020 11:13 am
Forum: Anything else we might add?
Topic: Section for bugs and weird things
Replies: 0
Views: 3672

Section for bugs and weird things

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?