Re: package construction
- To: mathgroup at smc.vnet.net
- Subject: [mg117974] Re: package construction
- From: "Nasser M. Abbasi" <nma at 12000.org>
- Date: Wed, 6 Apr 2011 05:14:23 -0400 (EDT)
- References: <inerrp$jae$1@smc.vnet.net>
- Reply-to: nma at 12000.org
On 4/5/2011 3:45 AM, Jack L Goldberg 1 wrote: > Hi Folks; > > Something puzzles me. (Actually, a lot puzzles me but thats a story > for my psychologist). Considering the incredible sophistication of > Mathematica, why is it so mysteriously hard for a beginner to write a package > and store it properly so that it can by accessed as easily as built-n > packages? > > Has anyone put there mind to develop a template to make this stuff > automatic. As a model, consider digital cameras, which have automatic > mode for camera dummies like me, and a manual mode for the serious > enthusiasts. I envisage a template in which the pertinent questions > are asked of the developer: Name of package, name of commands for > users and the syntax of these commands, the private code and etc. Mathematica > then takes this info, does all the routine stuff needed to have a > package ready to go. > > I suppose that this has not been done because it is far harder to do > than I imagine it to be. But when I consider the sophistication of > Resolve, I can't believe this is harder. > > Jack > > I do not think a template is needed. It is really simple to make a package. Here is a small note, fyi http://12000.org/my_notes/how_to_write_package_in_mathematica/index.htm --Nasser