Syntax highlighting for GW-BASIC


0. Contents

   1. Purpose
   2. See it in action
   3. README
   4. Copying
   5. Downloading

1. Purpose

SYNHILI.COM is a TSR for DOS, that provides syntax-highlighting for Microsoft GW-BASIC and interface-compatible BASIC interpreters (BASICA, IBMBASIC, etc.) Such BASIC interpreters can be run on modern computers using a DOS or PC emulator, such as DOSBox or JPC.

Note that it cannot be used with QBASIC/QuickBASIC, because QB repaints the entire screen every time you type a key, causing annoying flashing when QB and SYNHILI recolor the screen alternatingly. QB's horizontal scrolling poses also a significant problem for parsing the syntax based on video-RAM content alone.

2. See it in action

Synhili active:
It is used in these Youtube videos:
Original GW-BASIC:
SYNHILI is configured in Joe's JSF file syntax. Here's how it looks on Joe, in Xterm:
Installing SYNHILI (also showing its memory use characteristics):

3. README

Syntax highlighting for GW-BASIC
Version 1.0.3.3
Copyright (C) 2011 Joel Yliluoma -- http://iki.fi/bisqwit/
License: zlib
---------------------------------------------------------
SYNHILI.COM is a TSR that provides syntax-highlighting
for Microsoft GW-BASIC.

Color scheme:
	Background: black
	Line numbers: magenta (also in GOTO/GOSUB/RESTORE/ON expr)
	Comments: bright red
	DATA items: bright yellow
	DATA delimiters: brown
	Class one operators (delimiters): green 
	Class two operators (other operators): bright green
	Numeric values: bright blue
	Type suffixes on numeric values: bright magenta
	Syntax errors on numeric values: bright red on red
	File numbers (only with a hash prefix): bright cyan
	String values: cyan
	String delimiters: bright cyan
	Keywords: bright white
	Identifiers: white/gray
	Unrecognized characters: black on cyan

This color scheme is a variant of the same color scheme
that the author has used for nearly two decades on various
programming languages.

Note: Syntax highlighting is only performed when the display
is in 80x25 text mode and when the first column of the bottom
row contains the character '1' (which is the case when KEY ON
is enabled).

4. Copying

SYNHILI has been written by Joel Yliluoma, a.k.a. Bisqwit,
and is distributed under the terms of the zlib license, summarized: as-is, for-any-purpose, do-not-mispresent, compatible-with-gpl

5. Downloading

Downloading help

  • Do not download everything - you only need one file (newest version for your platform)!
  • Do not use download accelerators or you will be banned from this server before your download is complete!

The most recent source code (bleeding edge) for synhili can also be downloaded by cloning the Git repository by:

Date (Y-md-Hi) acc        Size Name                
2011-1102-1142 r--       56634 synhili-1.0.3.3.tar.bz2
2011-1102-1142 r--       64818 synhili-1.0.3.3.tar.gz
2011-1102-1041 r--       56633 synhili-1.0.3.2.tar.bz2
2011-1102-1041 r--       64878 synhili-1.0.3.2.tar.gz
2011-1101-1350 r--       56240 synhili-1.0.3.1.tar.bz2
2011-1101-1350 r--       64464 synhili-1.0.3.1.tar.gz
2011-1101-0131 r--       56757 synhili-1.0.3.tar.bz2
2011-1101-0131 r--       64860 synhili-1.0.3.tar.gz
2011-0325-1320 r--       51000 synhili-1.0.2.tar.bz2
2011-0325-1320 r--       62704 synhili-1.0.2.tar.gz
2011-0111-1244 r--       44379 synhili-1.0.1.tar.bz2
2011-0111-1244 r--       53090 synhili-1.0.1.tar.gz
Back to the source directory index at Bisqwit's homepage