Ok I'm too tired to figure out how readtables work but I believe I'll need to do that in order to get what I want. (aka special meaning for chars inside symbols won't cut it). What I want to do is define $(...) to mean something. Nevermind for now what I'm actually doing with it because I'd rather play with it a bit before I suggest a syntax change. But the question is more general. If I want to essentially do a find/replace in the source code for "$(" -> "(new-macro" how would I do that? I suppose soon I'll give up on brevity and do it the easy way and just stick with Arc syntax but first I'd like to see how this is done and how the code looks. |