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

Messages - newdep

#1
newLISP newS / Re: Error in 10.7.6
December 28, 2021, 08:59:55 AM
( ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

...

 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

Segmentation fault (core dumped)
#2
newLISP newS / Re: Error in 10.7.6
December 28, 2021, 08:59:34 AM
>(first x)
#3
newLISP newS / Re: Error in 10.7.6
December 28, 2021, 08:59:17 AM
((?) ?)
#4
newLISP newS / Re: Error in 10.7.6
December 28, 2021, 08:58:57 AM
>(push x x)
#5
newLISP newS / Re: Error in 10.7.6
December 28, 2021, 08:58:21 AM
>(push x x)

(?)
#6
newLISP newS / Re: Error in 10.7.6
December 28, 2021, 08:58:05 AM
>x

nil
#7
newLISP newS / Re: Error in 10.7.6
December 28, 2021, 08:57:46 AM
newLISP v.10.7.6 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h
#8
newLISP newS / Re: Error in 10.7.6
December 28, 2021, 08:55:47 AM
Sorry cant post here any more... again forum error..
#9
newLISP newS / Error in 10.7.6
December 28, 2021, 08:48:51 AM
There is an error in 10.7.6 .. returns a lot of questions ;-)

Question is, is the question mark a legal type? of a missing type?

(or im i pushing into the blue here..;-)

newLISP v.10.7.6 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h

Do it like this, else it wont error (double push) ->

> x

nil

>(push x x)

(?)

>(push x x)

any more text below and the forum returns an error... see the replys below
#10
Anything else we might add? / Re: forum problems?
December 24, 2021, 02:47:09 PM
pasting code ..works again... ;-)
#11
newLISP in the real world / after coffee
December 24, 2021, 02:46:34 PM
..just to keep the brain awake...

http://newlisp.digidep.net/magic.lsp">//http://newlisp.digidep.net/magic.lsp



;
; Magic (odd, not even) square solver by nodep.
;
;     0   1   2  
;   ------------+
; 0 | a | c | b |
;   |-----------|  
; 1 | d | e | f |
;   |-----------|
; 2 | g | h | i |
;   +-----------+    
;
; The trick..
;          ..is very simple
;

 ;;-- 1..9
 ;;(setq numbers (sequence 1 9))

 ;;-- 4096..5104
 (setq numbers (sequence 4096 5104))
 
 ;;-- determine the middle
 (setq middle (numbers 4))

 ;;-- calculate the sum
 (setq sum (add (numbers 0) (numbers -1) middle))

 ;;-- listy 3x3 square
 (setq s '( () () () ))

 ;;-- solve
 (push middle (s 1))
 (push (numbers  0) (s 0))
 (push (numbers -1) (s 2))
 (push (numbers  1) (s 2) -1)
 (push (numbers -2) (s 0))    
 (push (numbers  2) (s 1))
 (push (numbers -3) (s 1) -1)
 (push (numbers  3) (s 2))
 (push (numbers -4) (s 0) -1)
 
 ;;-- display
 (println "The Magic = " sum)
 (map println (map string s))
 
 ;;-- Enjoy.. ;-)
 
 (exit)
 
#12
newLISP in the real world / befor the coffee
December 24, 2021, 04:35:34 AM
...brain gymnastics instead of coffee...



http://newlisp.digidep.net/triarray.lsp">//%20http://newlisp.digidep.net/triarray.lsp



(load "http://newlisp.digidep.net/triarray.lsp")
#13
newLISP in the real world / Re: Another code tree
December 23, 2021, 07:26:33 AM
http://newlisp.digidep.net/xmas.lsp">//
http://newlisp.digidep.net/xmas.lsp


(load "http://newlisp.digidep.net/xmas.lsp")
#14
newLISP in the real world / Re: Another code tree
December 23, 2021, 07:20:28 AM
nope sorry cant post code anymore here...getting errros..
#15
newLISP in the real world / Another code tree
December 23, 2021, 07:04:03 AM
Small tree test