Ed, no apology required :)
For the first approach: If you want that, you can just start using it. LEO came to my mind but you could as well support it in another editor. Write a function stripping your code off those comments and feeding the remaining code to J. Not much of a hassle except for load'file'. Thus another approach would be writing a wrapper around load and friends. These both only work as long as you don’t intend to share code. But I thought this was about the JE recognizing new syntax no matter one’s personal taste. /If/ that would be agreed upon and implemented, we should discuss all of this. If not, that second approach is moot. just my 2¢ Hauke Am 28.04.22 um 11:57 schrieb Ed Gottsman:
Hauke, My apologies: I expressed myself awkwardly. No disrespect was meant to any editor. :-). Emacs and vim would be my choices, too, were I feeling a lot more ambitious. I have the sense that there are two basic approaches under discussion. In the first (the one I think you’re articulating), the editor would change but could (in principle) feed “vanilla” J to the interpreter/debugger. That is, the .ijsx file format could be invisible to the J runtime. In the second (which is what I think I’m hearing from Raul), the interpreter/debugger would be opened up and enhanced to deal with the ijsx format (which would live in .ijs files). An adjunct to the first approach might be a simple front-end translator that the (otherwise unchanged) J runtime could invoke to translate .ijsx to .ijs on load. That would let J deal directly with the enhanced format but would not require opening up the interpreter/debugger. The first approach strikes me as an easier lift with many of the benefits, but my ignorance in all of this is nearly perfect. Ed Sent from my iPad ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
-- ---------------------- mail written using NEO neo-layout.org ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm