> Scriptdoc comment could be ok to > be retained. However that requires a more strict and coherent rules to > write comments.
I think adding back the comments (for use with scriptdoc/namedoc) would be worthwhile. I agree that more effort is required with comments. I'm happy to contribute some time on that. > Loading scripts is an os file operation which can be slow. Combining those > short scripts in the initial boot is good. I suspect that it would be hard to tell the difference (without measuring) between the two options. Easy to test ... <A bit later>: This is not a perfect comparison but I compared the load time for ~system/main/stdlib.ijs and a script that loads all of the scripts listed in ~Main/main/main.jproj. It takes ~0.0117 seconds to load stdlib.ijs and ~0.0133 seconds to load each of the scripts individually. Not sure that difference is really significant. On Tue, Feb 15, 2011 at 2:54 PM, bill lam <[email protected]> wrote: > Loading scripts is an os file operation which can be slow. Combining those > short scripts in the initial boot is good. Scriptdoc comment could be ok to > be retained. However that requires a more strict and coherent rules to > write comments. > > > Втр, 15 Фев 2011, Ric Tikkanz писал(а): >> > The latest version should support context sensitive help for base >> > library. >> >> This works for me in the Gtk IDE. >> If I type say ( stringreplace ) in the Term or Edit windows and press >> Ctrl+F1 then the relevant script file from the SVN repository (with >> its comments) is displayed in my browser (or if I have a local version >> of the SVN repository then the relevant script file from there is >> loaded in my Edit window). >> >> This is nice, especially in that it shows where changes/patches need >> to be made, however my preference would still be to retain the script >> comments/documentation in the scripts distributed with J and load the >> individual scripts (files.ijs, strings.ijs, colib.ijs, task.ijs ...) >> in stdlib.ijs rather than catenate them all together. >> >> JVERSION >> Engine: j701/2011-01-10/11:25 >> Library: 7.01.045 >> Platform: Linux 64 >> Installer: j701a_linux64.sh >> InstallPath: /usr/local/lib/j64_701 >> >> >> >> >> On Tue, Feb 15, 2011 at 6:51 AM, bill lam <[email protected]> wrote: >> > The latest version should support context sensitive help for base >> > library. >> > http://www.jsoftware.com/jwiki/Guides/Gtk%20IDE >> > >> > Пнд, 14 Фев 2011, Johann Hibschman писал(а): >> >> Where should I look to find reference-style documentation on the "base >> >> library" that is loaded into J on startup? >> >> >> >> For example, where are the definitions of "load", "require", "cocreate", >> >> "jpath", and so on? >> >> >> >> By digging around on SVN, I can find the definitions, if I know exactly >> >> what I'm looking for. The various J books mention some of these verbs >> >> as they go, but they're not structured like a reference. >> >> >> >> Which of these are loaded by default? Just base/main/main/*? >> >> Experimentally, everything in there seems to be, but base/main/pp/* does >> >> not. >> >> >> >> If it matters, I'm mostly using the jsoftware jijx at work, and the Mac >> >> j701 jgtk at home. (I'm still learning, so at work I just use the web >> >> version as a calculator. It would be nice to have the real version, but >> >> "experiment to see if I like it" won't fly as a reason to get IT >> >> approval to install a binary package. Sigh.) >> >> >> >> >> >> Thanks, >> >> Johann Hibschman >> >> >> >> >> >> ---------------------------------------------------------------------- >> >> For information about J forums see http://www.jsoftware.com/forums.htm >> > >> > -- >> > regards, >> > ==================================================== >> > GPG key 1024D/4434BAB3 2008-08-24 >> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
