;; Copyright (C) 2007 James Weatherley <james@weatherley.net>

;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 2 of
;; the License, or (at your option) any later version.

;; This program is distributed in the hope that it will be
;; useful, but WITHOUT ANY WARRANTY; without even the implied
;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;; PURPOSE.  See the GNU General Public License for more details.

;; You should have received a copy of the GNU General Public
;; License along with this program; if not, write to the Free
;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
;; MA 02111-1307 USA

The files 'zxbas-mode.el' and 'bas-to-fuse.el' provide Sinclair BASIC syntax
highlighting for Emacs on all platforms, and integration with Fuse on OS X. I'm
not very experienced with the ways of Lisp and Emacs hacking, so don't expect
too much! If can improve them, please do.

To use:

o Install 'bas2tap' - http://www.worldofspectrum.org/utilities.html - making
sure it is in your PATH.
o Copy the files somewhere, eg '/usr/local/opt/'
o Edit ~/.emacs by adding the following lines:

  (load-file "/usr/local/opt/zxbas-mode.el")
  (load-file "/usr/local/opt/bas-to-fuse.el")
  (global-set-key [f5] 'bas-to-fuse)

o Restart Emacs

.bas files should now get syntax highlighting, and pressing F5 will load the
listing into Fuse.

Any problems, or improvements, please send to james@weatherley.net
