[MLton-commit] r6808

Wesley Terpstra wesley at mlton.org
Mon Aug 25 13:17:55 PDT 2008


Include stub icons for SML and MLB files
Insert webpage link, readme, and documentation shortcut to start menu.
----------------------------------------------------------------------

A   mlton/trunk/package/mingw/Download.URL
U   mlton/trunk/package/mingw/Makefile
A   mlton/trunk/package/mingw/Readme.rtf
A   mlton/trunk/package/mingw/mlb.ico
U   mlton/trunk/package/mingw/mlton.wxs
A   mlton/trunk/package/mingw/sml.ico

----------------------------------------------------------------------

Added: mlton/trunk/package/mingw/Download.URL
===================================================================
--- mlton/trunk/package/mingw/Download.URL	2008-08-25 18:23:02 UTC (rev 6807)
+++ mlton/trunk/package/mingw/Download.URL	2008-08-25 20:17:52 UTC (rev 6808)
@@ -0,0 +1,6 @@
+[InternetShortcut]
+URL=http://mlton.org/Download
+IDList=
+HotKey=0
+[{000214A0-0000-0000-C000-000000000046}]
+Prop3=19,2

Modified: mlton/trunk/package/mingw/Makefile
===================================================================
--- mlton/trunk/package/mingw/Makefile	2008-08-25 18:23:02 UTC (rev 6807)
+++ mlton/trunk/package/mingw/Makefile	2008-08-25 20:17:52 UTC (rev 6808)
@@ -66,6 +66,7 @@
 	rm -rf staging
 	make -C ../.. PREFIX= install
 	mv ../../install staging
+	cp sml.ico mlb.ico staging/lib/mlton
 	cd staging; find * -type f ! -name *-gdb.a | ../files2wix-component MLton > ../$@.tmp
 	mv $@.tmp $@
 

Added: mlton/trunk/package/mingw/Readme.rtf
===================================================================
--- mlton/trunk/package/mingw/Readme.rtf	2008-08-25 18:23:02 UTC (rev 6807)
+++ mlton/trunk/package/mingw/Readme.rtf	2008-08-25 20:17:52 UTC (rev 6808)
@@ -0,0 +1,66 @@
+MLton is a whole-program optimizing compiler for the Standard ML programming language. This package has associated MLton with .sml and .mlb files. Double-clicking on these files in the windows explorer will cause them to be compiled. MLton has also been placed into your system path so that you may use it from development environments such as Visual Studio or Eclipse by invoking 'mlton targetfile.sml'. Please refer to the manual for help on how to link MLton output against other programming libraries.
+
+If you installed the bundled MSYS package (a *nix style-shell) you should find an icon to start it in the Start Menu. MSYS can invoke 'mlton' along with a plethora of other *nix command-line utilities, notably GNU 'make'. Simply start MSYS and type 'mlton your-program-here.sml' into the window which appears.
+
+MLton has the following features. 
+
+  + Portability.  
+   Runs on the following platforms.
+   o AMD64: FreeBSD, Linux.
+   o HPPA: HPUX (11.00 and above), Linux (Debian).
+   o PowerPC: AIX (5.1 and above), Darwin (Mac OS X), Linux (Debian, Fedora).
+   o Sparc: Linux (Debian), Solaris (8 and above).
+   o X86: Cygwin/Windows, Darwin (Mac OS X), FreeBSD, Linux, MinGW/Windows, 
+      NetBSD, OpenBSD.
+  + Robustness.
+   o Supports the full SML 97 language as given in The Definition 
+      of Standard ML (Revised).
+   o A complete implementation of the Basis Library.
+   o Generates standalone executables.
+   o Compiles large programs.
+   o Support for large amounts of memory (up to 4G on 32-bit systems; 
+      more on 64-bit systems).
+   o Array lengths up to 2^31 - 1, the largest possible 
+      twos-complement 32-bit integer.
+   o Support for large files, using 64-bit file positions.
+  + Performance.
+   o Executables have excellent running times.
+   o Generates small executables.
+   o Untagged and unboxed native integers, reals, and words.
+   o Unboxed native arrays.
+   o Multiple garbage collection strategies.
+   o Fast arbitrary-precision arithmetic based on the GnuMP.
+  + Tools.
+   o Source-level profiling for both time and allocation.
+   o MLLex lexer generator.
+   o MLYacc parser generator.
+   o ML-NLFFIGEN.
+  + Extensions.
+   o A simple and fast C FFI that supports calling from SML to C and 
+      from C to SML.
+   o ML Basis system for programming in the very large.
+   o Libraries for C pointers, continuations, interval timers, random
+      numbers, resource limits, resource usage, signal handlers,
+      system logging, threads, and heap save and restore.
+
+For more information, go to the MLton home page. 
+
+        http://mlton.org/
+
+There are two mailing lists available.
+
+ * MLton at mlton.org        MLton developers
+ * MLton-user at mlton.org   MLton user community 
+
+doc directory contents:
+        README                  this file
+        changelog               changelog
+        cm2mlb/                 a utility for producing ML Basis programs in SML/NJ
+        cmcat/                  a utility for producing whole programs in SML/NJ
+        examples/               example SML programs
+	guide/			HTML MLton guide (copy of the MLton wiki)
+        license/                license information
+        mllex.ps.gz             user guide for mllex lexer generator
+	mlton-guide.pdf		PDF version of MLton guide
+        mlyacc.ps.gz            user guide for mlyacc parser generator
+

Added: mlton/trunk/package/mingw/mlb.ico
===================================================================
(Binary files differ)


Property changes on: mlton/trunk/package/mingw/mlb.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: mlton/trunk/package/mingw/mlton.wxs
===================================================================
--- mlton/trunk/package/mingw/mlton.wxs	2008-08-25 18:23:02 UTC (rev 6807)
+++ mlton/trunk/package/mingw/mlton.wxs	2008-08-25 20:17:52 UTC (rev 6808)
@@ -19,30 +19,46 @@
 
       <Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
         <Directory Id="ProgramMenuDir" Name='MLton'>
-          <Directory Id='ProgramMenuDocs' Name='Docs' LongName='Documentation'>
-          </Directory>
+          <Component Id='component.download.url' Guid='A9C0D185-9520-45FF-1B52-02894D3EAA54'>
+            <File Id='file.menu_download.url' Name='Download.URL' Source='Download.URL' DiskId='1' Vital='yes' />
+          </Component>
+          <Component Id='component.readme.txt' Guid='1FC6B351-547C-A5AB-7F0E-FB153F721170'>
+            <File Id='file.menu_readme.txt' Name='Readme.rtf' Source='Readme.rtf' DiskId='1' Vital='yes' />
+          </Component>
         </Directory>
       </Directory>
 
       <Directory Id="DesktopFolder" Name="Desktop" />
     </Directory>
 
+    <DirectoryRef Id='dir.doc_mlton'>
+      <Component Id='component.documentation' Guid='1E019F99-0424-8133-D4F6-C7DDA0882798'>
+        <Shortcut Id='start_docs' Directory='ProgramMenuDir' Name='Docs' LongName='Documentation' Description='The MLton documentation folder'/>
+      </Component>
+    </DirectoryRef>
+
     <DirectoryRef Id='dir.bin'>
       <Component Id='component.path' Guid='5B06C123-B426-3D4D-BE48-4D07BAD8A6BA'>
         <Environment Id='env.path' Name='PATH' Action='set' Part='last' System='yes' Value='[dir.bin]' />
       </Component>
       <Component Id='component.bin_mlton.bat' Guid='A2E613BD-41F8-1CF7-D5EA-0C41674D78AC'>
         <File Id='file.bin_mlton.bat' Name='mlton.bat' Source='mlton.bat' DiskId='1' Vital='yes' />
-        <ProgId Id='MLton.mlb' Description='Standard ML basis file'>
+        <ProgId Id='MLton.mlbfile' Description='Standard ML basis file'>
           <Extension Id='mlb' ContentType='application/mlb'>
             <Verb Id='buildMLB' Sequence='10' Command='Compile' Target='[!file.bin_mlton.bat]' Argument='-cc-opt -O1 -verbose 1 "%1"' />
           </Extension>
         </ProgId>
-        <ProgId Id='MLton.sml' Description='Standard ML source file'>
+        <ProgId Id='MLton.smlfile' Description='Standard ML source file'>
           <Extension Id='sml' ContentType='application/sml'>
             <Verb Id='buildSML' Sequence='10' Command='Compile' Target='[!file.bin_mlton.bat]' Argument='-cc-opt -O1 -verbose 1 "%1"' />
           </Extension>
         </ProgId>
+        <Registry Id='SMLIcon1' Root='HKCR' Key='.sml' Action='write' Type='string' Value='MLton.smlfile' />
+        <Registry Id='SMLIcon2' Root='HKCR' Key='MLton.smlfile' Action='write' Type='string' Value='Standard ML source file' />
+        <Registry Id='SMLIcon3' Root='HKCR' Key='MLton.smlfile\DefaultIcon' Action='write' Type='string' Value='[!INSTALLDIR]\lib\mlton\sml.ico' />
+        <Registry Id='MLBIcon1' Root='HKCR' Key='.mlb' Action='write' Type='string' Value='MLton.mlbfile' />
+        <Registry Id='MLBIcon2' Root='HKCR' Key='MLton.mlbfile' Action='write' Type='string' Value='Standard ML basis file' />
+        <Registry Id='MLBIcon3' Root='HKCR' Key='MLton.mlbfile\DefaultIcon' Action='write' Type='string' Value='[!INSTALLDIR]\lib\mlton\mlb.ico' />
       </Component>
       <Component Id='component.bin_msys.bat' Guid='9C492AB5-3C90-66AF-E442-D6B96A9890C4'>
         <File Id='file.bin_msys.bat' Name='msys.bat' Source='msys.bat' DiskId='1' Vital='yes'>
@@ -57,6 +73,9 @@
       <ComponentGroupRef Id='component.MLton' />
       <ComponentRef Id='component.bin_mlton.bat' />
       <ComponentRef Id='component.path' />
+      <ComponentRef Id='component.download.url' />
+      <ComponentRef Id='component.readme.txt' />
+      <ComponentRef Id='component.documentation' />
       <Feature Id='Debug' Title='Debug' Description='The MLton runtime libraries with included debug information.' Level='10'>
         <ComponentGroupRef Id='component.Debug' />
       </Feature>

Added: mlton/trunk/package/mingw/sml.ico
===================================================================
(Binary files differ)


Property changes on: mlton/trunk/package/mingw/sml.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




More information about the MLton-commit mailing list