diff --git a/software/BALGOL/BALGOL-Examples/Example-1-BALGOL-Typos.card b/software/BALGOL/BALGOL-Examples/Example-1-BALGOL-Typos.card index 8f4cfa5..7b0e510 100644 --- a/software/BALGOL/BALGOL-Examples/Example-1-BALGOL-Typos.card +++ b/software/BALGOL/BALGOL-Examples/Example-1-BALGOL-Typos.card @@ -18,7 +18,7 @@ 2 BRESULTS (FOR I=(1,1,N); FOR J=(1,1,N); B(I,J)), 2 COEFFS (FOR NU=(4,4,N-1); HA(2NU-1)), 2 HFNRES (FOR K=(1,1,29); HFN(K)), -2 CRES(CONST), HFCNRES (TH, FOR K=(115); HFNC(K)), < 1 Then - lastSeq = Trim(args.Item(1)) + '-- Main Line -- + If Not fso.FileExists(fileName) Then + MsgBox "Transcription file does not exist: " & vbCrLf & fileName + WScript.Quit 8 Else - lastSeq = "09 0" + deckName = fso.BuildPath(fso.GetParentFolderName(fileName), fso.GetBaseName(fileName)) & ".card" + ExtractCode fileName, deckName + If not quietMode Then + MsgBox "BAC Assembler card deck created: " & vbCrLf & deckName + End If + + WScript.Quit 0 End If End If -Set args = Nothing - -'-- Main Line -- -If Not fso.FileExists(fileName) Then - MsgBox "Transcription file does not exist: " & vbCrLf & fileName -Else - deckName = fso.BuildPath(fso.GetParentFolderName(fileName), fso.GetBaseName(fileName)) & ".card" - ExtractCode fileName, deckName - MsgBox "BAC Assembler card deck created: " & vbCrLf & deckName -End If - Set fso = Nothing -WScript.Quit 0 - ]]> diff --git a/software/tools/README.txt b/software/tools/README.txt index fcb30f9..8e1d0e1 100644 --- a/software/tools/README.txt +++ b/software/tools/README.txt @@ -18,5 +18,10 @@ BAC-XScript-Reformatter.wsf assembly listing transcriptions and reformat them into card decks for use by BAC-Assembler.html +BAC-DeckGen.cmd + Windows command-line script to generate card decks for BAC-Assembler + from the transcribed *.baca files for the BALGOL compiler. + Paul Kimpel -January 2017 +March 2017 +