; TextPad syntax definitions for ALAN
; Copyright (C) 2001, Al Bampton and Stephen Griffiths
; (Bug reports and suggestions to [email protected])

; Version 2 - Aug 2004
; for ALAN 3.0.29 (and Lib 0.5)
; --------------------------------------------------------------------
; Version 1 - Feb 2001
; for ALAN 2.8 (and, optionally, 'proposed standard library' v0.3.1)
; tested with Textpad 4.2.2


; click 'help' under Textpad menu item
;    Configure | Preferences | Document Classes
; for usage of this file.

; you can set the colours for the various groups of words
; in Document Classes. Keyword sections 1, 2 and 3 are the main
; ALAN language keywords. You might want to make them all the same
; colour to save your source code looking too gaudy

; for details about the ALAN Adventure Language visit
;    The ALAN Home Pages
;    http://www.welcome.to/alan-if

; Textpad text editor (for MS Windows PCs)
; http://www.textpad.com/



C=1

[Syntax]
Namespace1 = 6
IgnoreCase = Yes
BracketChars = {[()]}.
OperatorChars = -+*/!~%^&|=
PreprocStart = $
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = --
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = Yes
StringStart = "
StringEnd = "
StringAlt =
StringEsc =
CharStart = '
CharEnd = '
CharEsc =

; Alan language logic and comparison keywords
[Keywords 1]
IF
THEN
ELSE
ELSIF
NOT
IS
HAS
CHECK
AND
OR



; other Alan language keywords
[Keywords 2]
LOCATION
END
EXIT
TO
START
AT
HERE
OBJECT
ACTOR
MAKE
SET
OF
DOES
ONLY
BEFORE
AFTER
VERB
SCRIPT
STEP
IN
ISA
WHERE
SYNTAX
CONTAINER
SCHEDULE
EVENT
DEFAULT
ATTRIBUTES
RANDOM
WHEN
NAME
DESCRIPTION
LIMITS
HEADER
MENTIONED
ARTICLE
USE
WAIT
UNTIL
FOR
DESCRIBE
SAY
LIST
QUIT
LOOK
SAVE
RESTORE
SCORE
VISITS
CANCEL
EMPTY
NEARBY
DEPENDING
ON
BETWEEN
INCREASE
DECREASE
CONTAINS
COUNT
SUM
MAX
SYNONYMS
LOCATE
HERO
INVENTORY
THE
ADD
EVERY
THING
DEFINITE
INDEFINITE


; Alan compiler options keywords
[Keywords 3]
OPTIONS
PACK
NO
LANGUAGE
ENGLISH
SWEDISH
WIDTH
LENGTH



; Default Arun Message keywords
[Keywords 4]
WHAT
WHATALL
WHATIT
WHATTHEM
MULTIPLE
WANT
NOUN
AFTERBUT
BUTALL
NOTMUCH
WHICHONE
NOSUCH
NOWAY
CANT0
CANT
SEEOBJECT1
SEEOBJECTCOMMA
SEEOBJECTAND
SEEOBJECTEND
SEEACTOR
CONTAINS1
CONTAINS
CONTAINSCOMMA
CONTAINSAND
CONTAINSEND
EMPTY1
ISEMPTY
HAVESCORED
SCOREOUTOF
UNKNOWNWORD
MORE
AGAIN
SAVEWHERE
SAVEOVERWRITE
SAVEFAILED
SAVEVERSION
SAVENAME
RESTOREFROM
SAVEMISSING
QUITACTION
DEFARTICLE
MESSAGE


; 'proposed standard library (v0.3.1)' keywords
; if not using the the "std.i" library then remove
; this section or replace it with the words defined
; in the library you're using.
[Keywords 5]
again
ask
attack
attack_with
brief
can_talk
close
close_with
closeable
closed
credits
down
drink
drinkable
drop
east
eat
edible
examinable
examine
give
help
hint
inanimate
invent
jump
jump_on
kiss
knock
knock_on
listen
listen_to
lock
lock_with
lockable
locked
look_at
look_in
named
north
northeast
northwest
nowhere
on
open
open_with
openable
pick_up1
pick_up2
push
push_with
pushable
put
put_behind
put_down1
put_down2
put_in
put_near
put_o_on
put_on
put_on_o
put_under
q
quit
read
readable
remove
restart
restore
save
say_to
say_word
search
searchable
shoot
shoot_at
shoot_at0
shoot_with
shootable
shout
smell
smell0
south
southeast
southwest
switch_off1
switch_off2
switch_on1
switch_on2
switchable
take
take_from
take_o_off
take_off_o
takeable
talk_to
talk_to_a
tell
throw
throw_at
throw_in
throw_to
touch
touch_with
touchable
turn_off1
turn_off2
turn_on1
turn_on2
undo
undress
unlock
unlock_with
up
verbose
wait
weapon
wear
wearable
weight
west
worn

[Keywords 6]

[Preprocessor keywords]
$INCLUDE