This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Embedded Guile command line input


  Hi,

I've hooked up stdin input in my GTK+ application (gdk_add_input)
to a handler that reads input and sends it to Guile
(gh_eval_str_with_standard_handler).  I provided multi-line support
by having the user tail continued lines with \ - I tried to avoid it
by pushing multi-line chunks separated by Ctrl-D presses, but never
got the hang of it... :(  The best solution would of course be to
count the parenthesis (skip strings, etc) so evaluation is
automatically done when an expression is completed.  I figure support
functions for this type of functionality might already be provided in
Guile, and there are probably guidelines for making this work with
emacs (don't know why a vi-user like me care, though ;)...

Any hints?

  Lars J
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]