Rewrote command line parsing in Smalltalk, for adding capability to run script files...
commite05c4ffd0962b23f1410606c4135c00b22d41807
authordavid.griswold.256 <david.griswold.256@0765cc13-ff1d-0410-8584-d7a1c31ec48e>
Wed, 7 Mar 2007 16:38:31 +0000 (7 16:38 +0000)
committerdavid.griswold.256 <david.griswold.256@0765cc13-ff1d-0410-8584-d7a1c31ec48e>
Wed, 7 Mar 2007 16:38:31 +0000 (7 16:38 +0000)
treeb71553464f4bb25f1b35cc4c08930d9fb94f6f02
parent2b2bc8be7286e0029f9d4855b20310132d9b3ce1
Rewrote command line parsing in Smalltalk, for adding capability to run script files. -script <filename> now causes the contents of the specified file to be filed in (chunk format).  Since chunks can have imbedded doIts, this provides arbitrary scripting capability.

In the process of doing this, the existing command line syntax had to be slightly changed.  Benchmarking commands, which are arguments that don't start with - or +, must be preceeded by the new -benchmark flag, which indicates that the rest of the command line consists of benchmarking tokens.

git-svn-id: http://strongtalk.googlecode.com/svn/trunk@42 0765cc13-ff1d-0410-8584-d7a1c31ec48e
StrongtalkSource/Platform.dlt
StrongtalkSource/SourceHandler.dlt
StrongtalkSource/SystemInitializer.dlt
vm/runtime/arguments.cpp