Re: On fixed point annotation in the repl

2025-03-24 Thread Alexander Burger
Hi András, > If anyone is interested, here is the fixed-point version of Paul Graham’s ray > tracer from “ANSI Common Lisp”: > > ~~~ > # P.Graham: "ANSI Common Lisp" > # ray tracer Wow, cool, this looks good! Thanks! ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscrib

Re: On fixed point annotation in the repl

2025-03-24 Thread András Páhi
Hi, If anyone is interested, here is the fixed-point version of Paul Graham’s ray tracer from “ANSI Common Lisp”: ~~~ # P.Graham: "ANSI Common Lisp" # ray tracer # (gc 256) (scl 4) (de sq (X) (*/ X X 1.0)) (de mag (X Y Z) (sqrt (+ (* X X) (* Y Y) (* Z Z))) ) (de make-point (X Y Z) (lis

Re: On fixed point annotation in the repl

2025-03-23 Thread Alexander Burger
On Sat, Mar 22, 2025 at 11:12:52PM -0700, Lindsay Lawrence wrote: > Not sure when it was added, but I just want to say that the added > annotation for fixed point values, when scl is set, is an amazingly useful > feature for the repl. Glad that you like it! This concept of REPL-comments is general