[Prev][Next][Index][Thread]
Re: Harlequin 1.2 still available?
Maury Markowitz wrote in message ...
>"Chris Double" <chris@double.co.nz> wrote in message
>wkbt1igrjq.fsf@double.co.nz">news:wkbt1igrjq.fsf@double.co.nz...
>> HD that are fixed in FD. Incremental compilation support and macro
>> expansion is also supported in FD 2.0 but not HD 1.2.
>
> Incremental compilation?
During active development, you can set the compilation mode
to a "looser" mode in which, when you do Project->Build, the
compiler figures out which things have changes and compiles
just those things and any downstream things that might be
affected. This can greatly improve the compilation time for
Project->Build.
But you get something much more useful when you use "loose"
mode compilation -- you get incremental *interactive* compilation
as well. This is how it works: compile a project in "loose" mode,
and the do Project->Start. Play with your project for a while,
then use the Application->Pause to pause it. You can now go
into the editor, modify a method, and recompile just that one
method. If you are using Emacs-mode, just type control-shift-C
to do this. The recompiled method will get compiled and uploaded
into the running application, and the application will run with the
new method.
Provisos:
- The code generated for loose mode compilation is a little
slower than tight mode compilation
- The compiler doesn't do quite as good a job warning you
about type-related things
- Recompiling methods or adding new generic functions and
new methods is the stuff that works best. Recompiling
classes works, but none of the old objects get updated to
conform to the new class.
Even with the above provisos, I believe you will find that being
able to do interactive compilation will increase your productivity
radically.
Follow-Ups:
References: