I do a lot of my coding in TextMate, and am curious if anyone knows how to access and use mathematica from either the shell terminal or from another application? For example, if I type in TextMate to plot a cos curve, then I want to be able to send that to mathematica and have it paste itself in a notebook and execute, showing me the result in a notebook window.
Does this make sense? Basically I want to write the code in my own editor and have it auto paste and run in mathematicas notebook.
Any tips or input would be helpful, thank you!