[Prev][Next][Index][Thread]

Re: Dylan source in one file?



Andy Armstrong wrote:
> 
> This is such a good idea, that we've already agreed it with
> Gwydion as part of the Common Dylan initiative, and it is
> already implemented in Functional Developer! Note that I'm
> not sure if it made it into 2.0, though.

Is there a spec for this anywhere, and is it in Gwydion?

> The next step is to have an all-in-one .lid and .dylan file,

This looks really good. It should definitely be implemented.
 
> This still isn't as concise as you'd like, so it might be worth
> having a standardized 'play' library, 

How would 'play' relate to 'dylan-user'? I thought everything the
programmer didn't want to think about went into dylan-user?

> or a more concise way of defining a simple library and module pair.

Yes, this could easily be done as a macro (with-library /
simple-library-definer), with a no-brainer use-play-library macro, too. 
A slightly more complex version could handle imports and exports.

> Anyway, I think this is a very important piece of making Dylan
> an easier language to get started with, and it also provides a
> very natural way to support Dylan as a scripting language, which
> I think is a niche it could fill extremely well.

Absolutley. I recently had to not recommend Dylan as the scripting
language for my current project. I couldn't in good conscience reccomend
a language that needed 3 source files for each script.

- Rob.

-- 
Rob Myers - http://www.robmyers.org/   H2G2 - http://www.h2g2.com/
MacOS wonderfulness for The Hitch Hiker's Guide to the Galaxy Game.
"Don't talk to sociologists. Social practice has no sociological 
content." - Art & Language.


References: