comparison vext.ps1 @ 1740:669bd699082d

Update vext
author Chris Cannam
date Thu, 13 Jul 2017 15:34:33 +0100
parents d60b30ea9b80
children bf4a7015033e
comparison
equal deleted inserted replaced
1739:713ab804d16e 1740:669bd699082d
12 $program = "$mydir/vext.sml" 12 $program = "$mydir/vext.sml"
13 13
14 # We need either Poly/ML or SML/NJ. No great preference as to which. 14 # We need either Poly/ML or SML/NJ. No great preference as to which.
15 15
16 if (!$sml) { 16 if (!$sml) {
17 if (Get-Command "polyml" -ErrorAction SilentlyContinue) { 17 if (Get-Command "sml" -ErrorAction SilentlyContinue) {
18 $sml = "smlnj"
19 } elseif (Get-Command "polyml" -ErrorAction SilentlyContinue) {
18 $sml = "poly" 20 $sml = "poly"
19 } elseif (Get-Command "sml" -ErrorAction SilentlyContinue) {
20 $sml = "smlnj"
21 } else { 21 } else {
22 echo @" 22 echo @"
23 23
24 ERROR: No supported SML compiler or interpreter found 24 ERROR: No supported SML compiler or interpreter found
25 25
27 compiler or interpreter to run. 27 compiler or interpreter to run.
28 28
29 Please ensure you have one of the following SML implementations 29 Please ensure you have one of the following SML implementations
30 installed and present in your PATH, and try again. 30 installed and present in your PATH, and try again.
31 31
32 1. Poly/ML 32 1. Standard ML of New Jersey
33 - executable name: sml
34
35 2. Poly/ML
33 - executable name: polyml 36 - executable name: polyml
34
35 2. Standard ML of New Jersey
36 - executable name: sml
37 37
38 "@ 38 "@
39 exit 1 39 exit 1
40 } 40 }
41 } 41 }