[MLton] using MLBs for scripting

Daniel C. Wang danwang@CS.Princeton.EDU
Wed, 15 Sep 2004 17:44:01 -0400


I guess, what is lost on me is how "scripting" differs from just ordinary 
usage of MLTon. Do you just want #! to do something sensible?

Is your goal to eliminate all the sh script wrappers that currently invoke 
MLTon and replace them with an MLton "script"?

I guess, I'm trying to understand what applications really would benefit 
from what's being proposed. Given a choice between sh programming and 
programming in SML. I suspect "sh" syntax and semantics is far more useful
than SML for most of what I consider "scripting".

Stephen Weeks wrote:

>>What's the real motivation? Just to take advantage of the byte-code
>>interpreter? 
> 
> 
> The motivation is to be able to do scripting with MLton, and to be
> able to use a single file for a script.