[linedit-devel] patch

larryl at bredband.net larryl at bredband.net
Fri Apr 20 08:22:27 UTC 2007


patch.txt contains
- user reader hook
  this can be used to implement simple string commands as "show cpu" that could be translated to the string "(show-cpu)" for example.
- user symbol hook
  after a line has been entered by the user, it is feed to READ-FROM-STRING that reads each peace and feeds it to a user-hook function that can replace symbols etc..
- user completion hook
  if user types string commands, those doesn't exist as symbols in any package so a user side completion
  function can take care of completing "show cpu"

cli.lisp
  contains an example of above features

enjoy!
/larry liimatainen

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <https://mailman.common-lisp.net/pipermail/linedit-devel/attachments/20070420/9b647b77/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cli.lisp
Type: application/octet-stream
Size: 2630 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/linedit-devel/attachments/20070420/9b647b77/attachment.obj>


More information about the linedit-devel mailing list