[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DrScheme & SRFIs Was: Possible bug w/ internal defines?
Yes, Emacs has some advantages still and we all use it for certain jobs.
The next release will accommodate multiple-file projects. That still won't
give you the ability to view the same file in multiple buffers. But at
least it can do check-syntax and things like that properly.
As for testing, I wouldn't test in one big function. I would write a test
procedure for each function that accepts the inputs, the expected output,
and a unique id so I can signal something useful when things go wrong. I
would use writh-handler to cope with test cases for error situations. Then
your tests look like this at the bottom of the file:
#| Tests: |#
(test-f 'test1 'a 0)
...
You see #t for all good ones and an error message involving test<i> for all
bad ones. For that I find DrS to be more useful than Emacs. At the end I
move the "|#" to the end of the test cases and voila` I have a complete
component. Put into a unit now and export ...
We will eventually support those srfi's that are compatible with the
language and its spirit. I agree that Olin's stuff should go in as soon as
it is finalized.
-- Matthias