2 ms·
Yes; for isntance see the CMU infix.cl file from the 1990's: https://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/code/syntax/infix/infix.cl https:
by kazinator 4y ago
Yes; for isntance see the CMU infix.cl file from the 1990's:
https://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/code/syntax/infix/infix.cl https://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/...
It has test cases at the bottom. like checking that f(a)*=g(b) expands to (setf (f a) (* (f a) (g b))))
The module installs the syntax under the #i dispatch characters; you wrap the infix expression with #I( ... )