Search found 46 matches

by winger
Sun Oct 21, 2012 3:10 pm
Forum: newLISP in the real world
Topic: (ref) can't process big data?
Replies: 3
Views: 2066

(ref) can't process big data?

I just parse nmap scan result. But i find function (ref) will broken when it process big data. :( Following codes can work if xo isn't too large. (setf xo '((host ((comment "")) (status ((state "up"))) (address ((addrtype "ipv4") (vendor "") (addr "111.11.11.4"))) (hostnames) (ports (extraports ((co...
by winger
Wed Oct 03, 2012 7:08 pm
Forum: newLISP in the real world
Topic: utf8 (chinese) in current working directory path on windows
Replies: 6
Views: 2598

Re: utf8 (chinese) in current working directory path on wind

can you show codes?
read-file can read content from pathname of utf8 (chinese) character.
by winger
Wed Sep 12, 2012 4:35 pm
Forum: newLISP in the real world
Topic: Socket webserver
Replies: 1
Views: 1412

Re: Socket webserver

;you could see msg first . It's different from manual now. (net-send-to (first (parse (nth 1 msg)":")) (nth 2 msg) response connection) UDP multicast communications If the optional string str-mode is specified as "multi" or "m", net-listen returns a socket suitable for multicastingUDP multicast com...
by winger
Wed Sep 12, 2012 3:53 pm
Forum: newLISP in the real world
Topic: confused by replace ?
Replies: 2
Views: 1477

Re: confused by replace ?

OMG
If all arguments are strings

include exp-replacement evaluated !!!!!!
by winger
Tue Sep 11, 2012 6:23 pm
Forum: newLISP in the real world
Topic: DESBUY.com - my newLISP bootstrapped project
Replies: 3
Views: 1920

Re: DESBUY.com - my newLISP bootstrapped project

ERR: array, list or string expected : nil
called from user defined function Dragonfly:eval-template
by winger
Mon Sep 10, 2012 2:02 pm
Forum: newLISP in the real world
Topic: confused by replace ?
Replies: 2
Views: 1477

confused by replace ?

> (setf str {abc1111abc222}) "abc1111abc222" > (replace {a(bc)} str (push $1 lst -1) 0) "abc1111abc222" ;why ? ;(push $1 lst -1) will return lst then lst replace {a(bc)} ??? ; > (setf lst nil) nil > (replace {a(bc)} str (println (push $1 lst -1)) 0) ("bc") ("bc" "bc") "abc1111abc222" > (replace {a(...
by winger
Wed Aug 29, 2012 6:49 am
Forum: newLISP in the real world
Topic: anyone has updated POP3 library?
Replies: 2
Views: 1936

Re: anyone has updated POP3 library?

I don't know anything about that library, but there is a syntax error in your statement: unbalanced double quotes. Maybe that is the problem? /Arie --! @hotcore I just copied the original code on pop3.lsp. hah. I found several problems and fix them. Now they can run at least. code: http://code.goog...
by winger
Wed Aug 08, 2012 5:15 pm
Forum: newLISP in the real world
Topic: anyone has updated POP3 library?
Replies: 2
Views: 1936

anyone has updated POP3 library?

Now it's not work even a simple login test.

Code: Select all

(print (POP3:get-mail-status ""user" "password" "my-isp.com"))
==!
by winger
Sat Jun 30, 2012 2:30 pm
Forum: newLISP in the real world
Topic: filter or find-all different results w/ diff nL versions
Replies: 3
Views: 1874

Re: filter or find-all different results w/ diff nL versions

Very strange!
NewLISP v.9.2.0 is no problem!

Many problems are caused by the return value.
Does not detect the type or null '() null ...
And the manual did not specifically label the return value.
by winger
Wed Jun 20, 2012 9:27 am
Forum: newLISP in the real world
Topic: So Cool EverEdit (support newLISP wow!)
Replies: 0
Views: 2427

So Cool EverEdit (support newLISP wow!)

A very light compact editor. Now Supoort newLISP's Syntax highlighting, code folding, code indentation. At present, only the windows version will soon launch the MAC and LINUX version. EverEdit will be a combination of Editplus and TextMate. Configuration is simple, powerful, clear interface. UTF-8 ...
by winger
Mon Jun 04, 2012 10:55 am
Forum: newLISP in the real world
Topic: Something error about file write function
Replies: 3
Views: 1657

Re: Something error about file write function

Yes .
You'are right.
In my opinion it should throw a waring message when filename is incorrect.
Though we can use (true? filename) determine whether filename is correct.
by winger
Sat Jun 02, 2012 6:04 am
Forum: newLISP in the real world
Topic: Something error about file write function
Replies: 3
Views: 1657

Something error about file write function

Today I write a Script to download newlisp's benchmark code. But I Can't find file in my directory. I was scared! It been eat ! OMG (set 'page (get-url "http://www.newlisp.org/benchmarks/")) (set 'files (find-all {(syntax\.cgi\?benchmarks/.*newlisp\.txt)\"} page $1)) ;ye , this is error filename, so...
by winger
Sun May 27, 2012 12:31 pm
Forum: newLISP in the real world
Topic: 2D game engine with newLisp
Replies: 29
Views: 12666

Re: 2D game engine with newLisp

MAY BE YOU CAN WRITE A WEB GAME Engine ?
I look forward ...
by winger
Fri Apr 13, 2012 5:00 am
Forum: newLISP in the real world
Topic: Some minor errors about manual and ....
Replies: 7
Views: 3586

Re: Some minor errors about manual and ....

introduction page60 (difference d2 d1) ;-> ("." ".." ".DS_Store" "Language Modules" "Menu Scripts" "Plug-Ins" "Read Me.txt" "Scripts" "Unix Support") to (intersect d2 d1) ;-> ("." ".." ".DS_Store" "Language Modules" "Menu Scripts" "Plug-Ins" "Read Me.txt" "Scripts" "Unix Support") ====== anyone can ...
by winger
Wed Apr 11, 2012 5:26 am
Forum: newLISP in the real world
Topic: Some minor errors about manual and ....
Replies: 7
Views: 3586

Re: Some minor errors about manual and ....

悲催啊 > (set-locale) ("Chinese_People's Republic of China.936" ".") > (set-locale "zh_CN") nil > (set-locale "zh_CN.GB18030") nil > (set-locale "Chinese_People's Republic of China.936" ) ("Chinese_People's Republic of China.936" ".") > (set-locale "zh_CN.UTF-8" ) (set 'zs (pack "bbbbbb" '(229 147 136 ...
by winger
Mon Apr 09, 2012 7:58 am
Forum: newLISP in the real world
Topic: Some minor errors about manual and ....
Replies: 7
Views: 3586

Re: Some minor errors about manual and ....

Thanks for all the doc corrections. All three manuals are corrected online: PS: meanwhile I also tried on UBUNTU Linux 11.10 with same working results. Test on xp service pack 3 http://www.newlisp.org/downloads/UTF-8_win32/ use this newlisp.exe newLISP v.10.4.0 on Win32 IPv4/6 UTF-8, execute 'newli...
by winger
Fri Apr 06, 2012 7:23 am
Forum: newLISP in the real world
Topic: Some minor errors about manual and ....
Replies: 7
Views: 3586

Some minor errors about manual and ....

manual ;;;; (map (curry :area) (list (myrect mycircle))) → (200 314.1592654) ;;;; (set 'A (array 2 3 (sequence 1 6))) → ((1 2) (3 4) (5 6)) ;;;;reader-event (context 'macro) ; registers a macro (define-macro (macro:macro callp body) (push (list (first callp) '*) macro-list -1) (eval (expand '(defin...
by winger
Thu Mar 29, 2012 6:47 am
Forum: newLISP in the real world
Topic: Scite4NewLisp
Replies: 0
Views: 2236

Scite4NewLisp

Scite4NewLisp

keyword autocomplete and calltip brace and double quotes autocomplete

havc fun guy :)

http://code.google.com/p/scite-for-newl ... loads/list
by winger
Wed Mar 14, 2012 7:44 am
Forum: newLISP newS
Topic: Chinese translation of newlisp code pattern
Replies: 1
Views: 4222

Chinese translation of newlisp code pattern

Spent more than two weeks to complete the work Everything is worth it Hope that more people able to reach this happy language http://code.google.com/p/newlisp-code-pattern-cn/downloads If you have any questions give me a message http://my.opera.com/freewinger/blog/ free.winger at gmail.com NewLisp -...