[<<][staapl][>>][..]
Sat Nov 22 08:33:10 CET 2008

multiple consoles

Something I didn't try yet is to run a snot head to a forth console.

It's quite straightforward: just load the .ss file into the toplevel,
then activate the console with:

  ,(repls '(box command))

This implies the console is defined (i.e. in .snotrc or in the
corresponding .snot file in the path) using the command:

  (register-language
   'compile "compile> "
   (not-implemented 'compile-eval)
   (lambda (str) (box-eval `(forth-compile ,str)))
   #f)

The hook here is 'forth-compile.  To enable multiple consoles, this
needs to be parameterized.

The .ss file generated needs to be a bit more general than a
standalone console..



[Reply][About]
[<<][staapl][>>][..]