Search found 9 matches

by jamesqiu
Tue Oct 18, 2011 1:20 am
Forum: Whither newLISP?
Topic: REPL auto-completion in windows ?
Replies: 9
Views: 10762

Re: REPL auto-completion in windows ?

/home/jamesqiu/newlisp-10.3.3>./configure-alt Could not discover your OS platform use one of the following commands: \nDo one of the following: make # auto-select one of the predefined makefiles and build newLISP make help # display this help make install # install on LINUX/UNIX in /usr/bin and /usr...
by jamesqiu
Tue Oct 18, 2011 1:19 am
Forum: Whither newLISP?
Topic: REPL auto-completion in windows ?
Replies: 9
Views: 10762

Re: REPL auto-completion in windows ?

/home/jamesqiu/newlisp-10.3.3>more config.h
config.h: No such file or directory
/home/jamesqiu/newlisp-10.3.3>ls *.h
newlisp.h pcre.h pcre-config.h pcre-internal.h primes.h protos.h
by jamesqiu
Tue Oct 18, 2011 1:18 am
Forum: Whither newLISP?
Topic: REPL auto-completion in windows ?
Replies: 9
Views: 10762

Re: REPL auto-completion in windows ?

/home/jamesqiu/newlisp-10.3.3>cat makefile_install # VERSION=10.3.3 # NOTE when changing PREFIX, then newlisp should only run # run in an environment, where NEWLISPDIR is predefined, # else NEWLISPDIR will be defined during newlisp startup # as /usr/share/newlisp which is hardcoded in newlisp.c pref...
by jamesqiu
Tue Oct 18, 2011 1:14 am
Forum: Whither newLISP?
Topic: REPL auto-completion in windows ?
Replies: 9
Views: 10762

Re: REPL auto-completion in windows ?

/home/jamesqiu/newlisp-10.3.3>./configure removing old objects and setting correct permissions ... discovering platform and default memory model ... detected memory model ILP32 detected Operating System CYGWIN creating makefile_build ... to make for ILP32 on CYGWIN type: make to make for any other s...
by jamesqiu
Mon Oct 17, 2011 3:11 pm
Forum: Whither newLISP?
Topic: REPL auto-completion in windows ?
Replies: 9
Views: 10762

Re: REPL auto-completion in windows ?

An unsatisfied solution: init.lsp ------------------------------------ (define-macro (kw s) (sort (sort (filter (fn (x) (find (string s) (string x))) (symbols))) (fn (x) (starts-with (string x) (string s))))) -------------------------------------------- > (kw read) (read read-buffer read-char read-e...
by jamesqiu
Mon Oct 17, 2011 3:07 pm
Forum: Whither newLISP?
Topic: REPL auto-completion in windows ?
Replies: 9
Views: 10762

Re: REPL auto-completion in windows ?

cygwin under win7 64bit ./config-alt make nl-sock.c: In function 'p_netConnect': nl-sock.c:422:6: warning: array subscript has type 'char' nl-sock.c: In function 'p_netListen': nl-sock.c:1198:6: warning: array subscript has type 'char' nl-sock.c: In function 'ping': nl-sock.c:1967:21: error: storage...
by jamesqiu
Mon Oct 17, 2011 1:52 am
Forum: Whither newLISP?
Topic: REPL auto-completion in windows ?
Replies: 9
Views: 10762

REPL auto-completion in windows ?

Anybody here use newlisp REPL under windows or cygwin ?
Is it possible to make REPL (not editor) support TAB auto-complete function name?
by jamesqiu
Mon Oct 17, 2011 1:13 am
Forum: Whither newLISP?
Topic: online help
Replies: 6
Views: 9606

Re: online help

Thanks cormullion for your solution, great! and I add another macro base on your code: (define-macro (doc func-name) (let ((func-name (string func-name))) (set 'f (read-file {/e:/newlisp/newlisp_manual.html})) (set 'r (regex (string "<a name=\"" func-name "\"></a>") f)) (set 'n0 (r 1)) (set 'n1 ((re...
by jamesqiu
Thu Oct 13, 2011 8:06 am
Forum: Whither newLISP?
Topic: online help
Replies: 6
Views: 9606

online help

Does newlisp have online function's document in REPL like clojure's (doc map) or (find-doc "map")