Search found 4 matches

by dig666
Sat Jul 10, 2010 11:15 am
Forum: newLISP in the real world
Topic: REPL and newline
Replies: 10
Views: 7404

Re: REPL and newline

I tried to explore command-event hook to inject tags before they get into reader, but at the end I ended up rolling additional tags to mark when expression was ready for evaluation, which is another wrapper around the given problem: still I need to write additional Vim script for it. But, this will ...
by dig666
Fri Jul 09, 2010 9:46 am
Forum: newLISP in the real world
Topic: REPL and newline
Replies: 10
Views: 7404

Re: REPL and newline

Aaahh, thanks for the tip and link :) I searched a couple of times through the forum, but seems I was looking via wrong search terms. But, this solution is still quite odd to me, and even worse, it doesn't work. Please look at these examples: > [cmd] (define (foo a b) (+ a b)) [/cmd] ERR: value expe...
by dig666
Thu Jul 08, 2010 8:45 am
Forum: newLISP in the real world
Topic: REPL and newline
Replies: 10
Views: 7404

Re: REPL and newline

Thank you Kazimir for this tip; I missed it somehow :) But... this is still strange to me, as readline is capable to accept multiple lines. Also, this makes a little bit cumbersome for sending code from environment (I can hack a vim script or rlwrap script to do this, but this solution seems to me q...
by dig666
Wed Jul 07, 2010 11:54 pm
Forum: newLISP in the real world
Topic: REPL and newline
Replies: 10
Views: 7404

REPL and newline

Hi to all, I'm having a strange error with REPL in a couple of last releases; when I try to type a multiline expression, I'm receiving "ERR: missing parenthesis", e.g. > (define (foo a b) ERR: missing parenthesis : "...(define (foo a b) " > . Anyone knows how to solve this? Besides this obvious limi...