Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/...

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( ... )



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: