newLISP Stable Release v.10.4.0

Started by Lutz, February 14, 2012, 07:54:25 AM

Previous topic - Next topic

Lutz

Stable Release 10.4.0 has a rewritten message API for multiprocessing, an extended FFI and makes efficiency improvements.



http://www.newlisp.org/index.cgi?page=Downloads">http://www.newlisp.org/index.cgi?page=Downloads

newdep

#1
Thanks lot Lutz!...  ;-)
-- (define? (Cornflakes))

xytroxon

#2
Keep up the good work!!!



-- xytroxon
\"Many computers can print only capital letters, so we shall not use lowercase letters.\"

-- Let\'s Talk Lisp (c) 1976

jopython

#3
Thank  you Lutz for the readline improvements.

johu

#4
Hellow, Lutz.



Accoding to http://www.newlisp.org/downloads/newLISP-10.4.0-Release.html">Release Notes v.10.4.0



In function now,
Quote
The day-of-the-year number now starts with 1 instead of offset 0. Both changes make now more ISO 8601 compliant.


So, I have a qestion.

The date function date-list returns the day-of-the-year number, too.

newLISP v.10.4.0 on Win32 IPv4/6, execute 'newlisp -h' for more info.

> (date-list (date-value))
(2012 2 15 8 31 15 45 3)
> (now)
(2012 2 15 8 31 17 952586 46 3 540 -60)

It seems that the day-of-the-year numbers are different in now and date-list.



In the http://www.newlisp.org/downloads/newlisp_manual.html#date-list">manual of date-list,
Quote
(date-list 1282479244)      → (2010 8 22 12 14 4 234 1)

(date-list 1282479244 0)    → 2010 ; year

(date-list 1282479244 -2)   → 234  ; day of year



(apply date-value (date-list 1282479244)) → 1282479244



(date-list 0)   → (1970 1 1 0 0 0 1 5) ; Thursday 1st, Jan 1900


In reality,

> (date-list 1282479244)
(2010 8 22 12 14 4 233 7)
> (date-list 0)
(1970 1 1 0 0 0 0 4)

2010/8/22 was Sunday.



Perhaps,

The day-of-the-year number is not correct, but its example in the manual is correct.

The day of current week is correct, but its example in the manual is not correct.



By the way,

Now, I am translating the manual to Japanese.

As soon as possible, I will finish and update it.



Thanks,



P.S.



In the http://www.newlisp.org/downloads/newlisp_manual.html#extended_syntax">manual,



The following examples show how the extendet <tt>import</tt> syntax can

                   ↓

The following examples show how the extended <tt>import</tt> syntax can



Maybe.

Lutz

#5
The day of year value in 'date-list' is still a 0 based offset and has not yet been converted like 'now'. I have made a note in the manual - now online - and have corrected the example.



This does not affect any conversions as shown in the manual, where the day of year value is never used.



Thanks for discovering this.

johu

#6
Thank you, Lutz.



I understood.



And I updated the manual translated to Japanese.



newlisp_manual-10400

CodePatterns-20120214



There are in https://skydrive.live.com/?cid=23a9a25e1aec3626&sc=documents&uc=1&id=23A9A25E1AEC3626!1450#">here.



Regards,

Lutz

#7
Thanks a lot, Johu. Both are updated here:



http://www.newlisp.org/newlisp_manual-jp.html">http://www.newlisp.org/newlisp_manual-jp.html

http://www.newlisp.org/CodePatterns-jp.html">http://www.newlisp.org/CodePatterns-jp.html



I also added a link to a framed Japanese version on the Documentation page.

Ishpeck

#8
Running Arch Linux x86_64, had the following.


In file included from newlisp.c:20:0:
newlisp.h:37:56: fatal error: x86_64-linux-gnu/ffi.h: No such file or directory
compilation terminated.


Changed newlisp.h to get it compiling.


[ishpeck@kiyoshi newlisp-10.4.0]$ export C_INCLUDE_PATH=/usr/lib/libffi-3.0.10/include:/usr/include
[ishpeck@kiyoshi web]$ diff newlisp.h newlisp-10.4.0/newlisp.h
37,38c37
< /*#  include <x86_64-linux-gnu/ffi.h>*/    /* ubuntu_x64 */
< #include <ffi.h>
---
> #  include <x86_64-linux-gnu/ffi.h>    /* ubuntu_x64 */


Seems to work now.

johu

#9
Thank you for always being so kind, Lutz.



It seems to be still old version in http://www.newlisp.org/CodePatterns-jp.html">http://www.newlisp.org/CodePatterns-jp.html.



And I updated the guiserver manual to Japanese.

guiserver_index-jp.html was modified because links was incorrect.

Of course, guiserver_manual-jp.html renewed.



newlisp_manual-10400

CodePatterns-20120214

guiserver_manual-144



There are in https://skydrive.live.com/?cid=23a9a25e1aec3626&sc=documents&uc=1&id=23A9A25E1AEC3626!1450#">here.



Regards,

Lutz

#10
Perhaps you have a problem with your browser cache - hit Shift-Reload ;-) Both newlisp_manual.jp and CodePatterns-jp.html where replaced yesterday. On guiserver_manual-jp.html, today I only found a 2011 -> 2012 difference in the date and have replaced it. Biut JP spelling to jp was all replaced with new files yesterday.

johu

#11
I am sorry,



CodePatterns-jp was a problem with my browser cache.



But http://www.newlisp.org/guiserver-jp/">0GUI functions with Japanese occurs link-error when link is clicked in function-indexes.

Becasue in guiserver_index-jp.html, using "-JP" at links, not "-jp".

There are my mistakes.

Please replace http://www.newlisp.org/guiserver-jp/guiserver_index-jp.html">//http://www.newlisp.org/guiserver-jp/guiserver_index-jp.html.



Thanks,

Lutz

#12
Thanks Johu, now online corrected:



http://www.newlisp.org/guiserver-jp/guiserver_frame-jp.html">http://www.newlisp.org/guiserver-jp/gui ... me-jp.html">http://www.newlisp.org/guiserver-jp/guiserver_frame-jp.html



now the framed format is also available in English:



http://www.newlisp.org/guiserver/guiserver_frame.html">http://www.newlisp.org/guiserver/guiserver_frame.html

johu

#13
Thanks a lot, Lutz.