basic organization with GST ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

basic organization with GST ?

Damien Pollet
Hi again, a brain-dead question I'm afraid :)

What's the canonical way to develop in GST ? There are sections in the
manual about the REPL, PackageLoader, package.xml…
Do you have an image-based workflow ? Code in files and re-build an
image from scratch with a makefile and gst-load ? Periodically reload
packages into the REPL ? Do you explicit file dependancies with
PackageLoader calls like require 'that/module' in Ruby ?

I feel halfway between Ruby and Squeak and I don't know how I'm
supposed to juggle between the two :)

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: basic organization with GST ?

Paolo Bonzini-2
> Do you have an image-based workflow ? Code in files and re-build an
> image from scratch with a makefile and gst-load ?

Yes.

> Periodically reload packages into the REPL ?

Very rarely.

> Do you explicit file dependancies with
> PackageLoader calls like require 'that/module' in Ruby ?

This instead yes.

Images are for:

- debugging of packages (REPL; they're not needed for SUnit)

- debugging of scripts and possibly deployment (you preload the
packages so that the script loads faster).  But scripts should be
autonomous and so they should load the packages.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk