Syntax highlighting for GW-BASIC

0. Contents

This is the documentation of synhili-1.0.3.3.
   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

The official home page of synhili is at http://iki.fi/bisqwit/source/synhili.html.
Check there for new versions.

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

Generated from progdesc.php (last updated: Wed, 02 Nov 2011 11:37:30 +0200)
with docmaker.php (last updated: Wed, 02 Nov 2011 10:40:11 +0200)
at Wed, 02 Nov 2011 11:38:52 +0200