I looked into this. My idea was that, upon startup, J would look at its command line (ARGV_z_) to determine if it were a "special" case and, if so, would get the rest of the code from the end of the executable and run it.
One problem with this is the need for "j.dll" to be present. On Tue, Jun 2, 2009 at 10:59 AM, Raul Miller <[email protected]> wrote: > On Tue, Jun 2, 2009 at 10:46 AM, bill lam <[email protected]> wrote: > > I think it is only possible for compiled languages like c otherwise > > you need to include the interpreter itself inside the single > > executable. > > You can append arbitrary content to an executable without hindering > its ability to execute. > > (Executable file formats begin with a fixed structure set of fields which > are followed by data whose offsets and lengths are encoded in the file.) > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
