infix-doller-reader enables Haskell-like $ operator.
(= (+ 1 2 $ * 3 4 $ + 5 6) (+ 1 2 (* 3 4 (+ 5 6)))) ; => t
(the fixnum $ + x 2)
Looks neat. Would you consider using named-readtables or cl-syntax to make it easier to manage readtable changes?
I'm planning using cl-syntax.
I've already sent a pull request cl-syntax: m2ym/cl-syntax#8
Shouldn't that system be part of your project, not part of cl-syntax? That requires less coordination and provides more flexibility.
cl-syntax-infix-doller is now available in my repository.
@quicklisp I've merged the patch into cl-syntax.
@m2ym It seems to me that projects should just create a system that depends on cl-syntax. To do otherwise (submit contribs to cl-syntax) requires more coordination than I find comfortable.
I've reverted the patch. If the author @ichimal is going to maintain the syntax system (cl-sytnax-infix-doller), adding the syntax system to cl-syntax contribs is not good idea, as @quicklisp said.
To @quicklisp :
Reverted cl-syntax-infix-doller and now depends on cl-syntax to define package-syntax directly.
To @m2ym :
OK, thanks to your working (i.e. merge and revert) for my request.
I'll remove my fork of cl-syntax repo.
Sorry, I'v fixed typo on project name from infix-doller-reader to infix-dollar-reader.
Please change repository to reference as follow.