Hello Qian,

Le mer. 28 août 2024 à 12:19, Qian Yun <[email protected]> a écrit :
>
> I suggest to use
>
>      -b '(){}[],+-=&^%$#@";|\:'"'"
>
> This way, both single quote and double quote is passed to rlwrap.

In fact I tried to improve it a little but it was not totally
finished. I may be wrong but apparently some sort of regular
expressions seems to be in use, here is the one I use right now:

  "([{>,\'\+-\*=\^\$#@;\:"

but  I am pretty sure it can be improved. '>' for example is of use in
expressions like i +-> fun(i) for i in..  I also removed closing
"sets" characters ' ] ) }'. In fact I wanted to list all binary operators in
use in FriCAS to add them, I do not remember for example use of | as in C. And
from memory there are some not very used logical operators like /\ or
\/ and time was missing to list them. It's a shame that there isn't the
opposite of "-b": --no-break-chars, with something like [a-bA-B_!?] etc.

- Greg

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAHnU2dasZkVH7e4Z9CgMUALEbAi28T1gqxWYQR2yJKnEZBCDAg%40mail.gmail.com.

Reply via email to