No more hungry newLISP porgrammers:
see here: http://newlisper.blogspot.com/
post from 2006-10-18
Lutz
Looks very nice! ...but: is it working?
Quote
peter[~]$ ./render.lsp
sh: open: command not found
In the source, I see:
(exec (string "open "(env "HOME") "/Desktop/noname.ps"))
In my Linux environment I do not have a command called 'open'...
Peter
really sorry about that, Peter. I had been browsing Lutz's PostScript.lsp code module, lifted out the bits which i could test on my MacOS machine and forgot that you'll probably need to go via GhostScript if you don't have a built-in PostScript interpreter.
lucky I'm not a developer ... :-)
For Windows change Cormullion's render function to this:
(define (render)
(write-file "noname.ps"
(append [text]%!PS-Adobe-3.1
%%Creator: newLISP
[/text] buffer "showpage" "rn")))
and use ghostscript for display of the generated postscript file.
enjoy the meal,
Lutz
aaaa nice..... Now the only thing I need is "The CornFlakes" version ;-)
Quote from: "newdep"
aaaa nice..... Now the only thing I need is "The CornFlakes" version ;-)
Ha! But when did this obsession with cornflakes start? :-)
I think cornflakes will be difficult. Too much PostScript, and not enough newLISP...