Hi all, Greeting from me! When studying define-macro( http://www.newlisp.org/downloads/newlisp_manual.html#define-macro ), I am a little confused with following statement: Note that in fexprs, the danger exists of passing a parameter with the same variable name as used in the define-macro definition...
Hi all, Greeting from me! I try arg-test program in http://www.newlisp.org/downloads/CodePatterns.html#toc-2 : #!/usr/bin/newlisp -s 100000 -m 10 (println (main-args)) (println (sys-info)) (exit) ; important Using current stable 10.7.1 , the result of running arg-test is like this: $ ./arg-test.lsp ...
Hi all, Greeting from me! I am a newbie of newLISP, and want to implement a simple feature which launches processes according to CPU number: (import "libc.so" "sysconf") (constant '_SC_NPROCESSORS_ONLN 503) (define (report pid) (println "process: " pid " has returned")) (define cpu-num (sysconf _SC_...