@c Copyright (C) 1996, 1997 John W. Eaton
@c This is part of the Octave manual.
@c For copying conditions, see the file gpl.texi.

@node Grammar
@appendix Grammar
@cindex grammar rules
@cindex language definition

This appendix should eventually contain a semi-formal description of
Octave's language.

@menu
* Keywords::                    
@end menu

@node Keywords
@section Keywords
@cindex keywords

The following identifiers are keywords, and may not be used as variable
or function names:

@multitable @columnfractions .33 .33 .33
@item @code{break} @tab @code{case} @tab @code{catch}
@item @code{continue} @tab @code{do} @tab @code{else}
@item @code{elseif} @tab @code{end} @tab @code{end_try_catch}
@item @code{end_unwind_protect} @tab @code{endfor} @tab @code{endfunction}
@item @code{endif} @tab @code{endswitch} @tab @code{endwhile}
@item @code{for} @tab @code{function} @tab @code{global}
@item @code{if} @tab @code{otherwise} @tab @code{persistent}
@item @code{return} @tab @code{static} @tab @code{switch}
@item @code{try} @tab @code{until} @tab @code{unwind_protect}
@item @code{unwind_protect_cleanup} @tab @code{varargin} @tab @code{varargout}
@item @code{while} @tab @code{__FILE__} @tab @code{__LINE__}
@end multitable

@DOCSTRING(iskeyword)
