To create a .tap file from a ZX Spectrum BASIC text .bas source file, Download the applescript below and Edit the location of the zmakebas executable in the property at the top of the script
Then copy to
~/Library/Application Support/BBEdit/Scripts/
and it will appear in the BBedit script menu
Open the .bas text file in BBEdit and select zmakebas from the Script menu
the resulting .tap file will be opened in Fuse
fuse zx spectrum emulator can be found here Fuse – the Free Unix Spectrum Emulator

