Yggdrasil for August

72 views
Skip to first unread message

Mark Tarver

unread,
Aug 5, 2022, 2:18:37 AM8/5/22
to Shen
Yggdrasil development is scheduled for this month; we'll see if a beta version can be run.

Mark

Mark Tarver

unread,
Aug 16, 2022, 6:31:25 AM8/16/22
to Shen
This is well underway though my working conditions are sweltering.

Mark

Mark Tarver

unread,
Aug 16, 2022, 12:57:59 PM8/16/22
to Shen
OK; that's it for today.  I'll be doing full scale testing tomorrow.
The heat has abated in the UK but our buildings are heat sinks
and so mine is still colling.

Mark

Mark Tarver

unread,
Aug 19, 2022, 7:39:09 AM8/19/22
to Shen
We have a result for the N queens program.

(20-) (yggdrasil ["n queens.shen"] "Common Lisp" "(PRINT (n-queens 8))")
generating KL from user sources
reading KL from user sources
n-queens.next_n is partial: adjusting error call
n-queens.ok_row? is partial: adjusting error call
n-queens.ok_diag? is partial: adjusting error call
n-queens.ok_diag_N? is partial: adjusting error call
extracting function calls from user sources
extracting kernel calls from user sources
extracting KL kernel code necessary to support user code
writing needed KL kernel to 'kernel.kl'
writing needed kernel source to 'kernel.lsp'
writing needed user source
writing primitives
writing initialisation file
writing run file
ok

This took 0.04s.  Then to SBCL

C:\Users\User\Google Drive\Shen Professional\Shen\Yggdrasil\N queens>sbcl.ex
core sbcl.core
This is SBCL 2.0.0, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.

WARNING: the Windows port is fragile, particularly for multithreaded
code.  Unfortunately, the development team currently lacks the time
and resources this platform demands.
* (load "run.lsp")

((4 2 7 3 6 8 5 1) (5 2 4 7 3 8 6 1) (3 5 2 8 6 4 7 1) (3 6 4 2 8 5 7 1)
 (5 7 1 3 8 6 4 2) (4 6 8 3 1 7 5 2) (3 6 8 1 4 7 5 2) (5 3 8 4 7 1 6 2)
 (5 7 4 1 3 8 6 2) (4 1 5 8 6 3 7 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 4 8 1 3 6) (7 4 2 5 8 1 3 6) (8 2 4 1 7 5 3 6) (7 2 4 1 8 5 3 6)
 (5 1 8 4 2 7 3 6) (4 1 5 8 2 7 3 6) (5 2 8 1 4 7 3 6) (3 7 2 8 5 1 4 6)
 (3 1 7 5 8 2 4 6) (8 2 5 3 1 7 4 6) (3 5 2 8 1 7 4 6) (3 5 7 1 4 2 8 6)
 (5 2 4 6 8 3 1 7) (6 3 5 8 1 4 2 7) (5 8 4 1 3 6 2 7) (4 2 5 8 6 1 3 7)
 (4 6 1 5 2 8 3 7) (6 3 1 8 5 2 4 7) (5 3 1 6 8 2 4 7) (4 2 8 6 1 3 5 7)
 (6 3 5 7 1 4 2 8) (6 4 7 1 3 5 2 8) (4 7 5 2 6 1 3 8) (5 7 2 6 3 1 4 8))
T
*

Mark

Mark Tarver

unread,
Aug 25, 2022, 3:18:32 PM8/25/22
to Shen
The next program is more challenging.  Einstein's Riddle in Shen Prolog which 
needs to run stand alone in native Lisp.

Mark

Reply all
Reply to author
Forward
0 new messages