<div dir="ltr">Eh just implement it yourself locally if it makes you happy!?<div><br></div><div>A night.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-22 21:22 GMT+08:00 ben yakawp <span dir="ltr"><<a href="mailto:ben.lists@yakawp.com" target="_blank">ben.lists@yakawp.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi<br>
Gambits repl is really awesome, especiallly the user friendly<br>
interactive debugger. I think it would be even more awesome if one could<br>
use a special repl friendly syntax to use an abritrary command.<br>
<br>
I've read something on the blog of the Gauche Scheme developer which<br>
explains it much better (1):<br>
<br>
"S-expression is great to represent tree structure, but it's a bit<br>
cumbersome to give simple commands in interactive shell; If the command<br>
line is short, the relative verbosity added by open and close<br>
parentheses gets in a way. Also in many cases simple commands take<br>
string arguments (e.g. to change working directory or to load file) and<br>
that require extra double quotes.<br>
<br>
I'm not the only one to feel that way. In Allegro CL, if you type a line<br>
begins with :, it is interpreted as special toplevel command. Scheme 48<br>
has similar command mode, beginning with ,. I guess there are other<br>
implementations with similar features."<br>
<br>
(1):<br>
<a href="http://blog.practical-scheme.net/gauche/20150819-toplevel-repl-commands" rel="noreferrer" target="_blank">http://blog.practical-scheme.net/gauche/20150819-toplevel-repl-commands</a><br>
<br>
So for 'gsi' that could mean we could write<br>
<br>
repl> :define hello "world"<br>
repl> :display hello<br>
<br>
Would that be hard to implement?<br>
ben<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote></div><br></div>