%============================================================================== % Project: SLP - An Interpreter for Super Logic Programs / Static Semantics % Module: test3.txt % Purpose: More syntax errors % Last Change:12.10.2001 % Language: SLP % Author: Stefan Brass % Email: Stefan.Brass@informatik.uni-giessen.de, sbrass@sis.pitt.edu % Address: Universitaet Giessen, Arndtstr. 2, 35392 Giessen, Germany % Copyright: (c) 2001 by Stefan Brass % Licence: Distributed under the conditions of the GNU Public Licence. %============================================================================== % The following are several kinds of syntax errors: % Integer overflow: p(66000). % v is a reserved word, this would be q | | q | v. % A quoted atom is not closed: p('abcdefghijklmnopqrstuvwxyz). % Note that this is skipped (to find a full stop): 2. % -> is not associative: p -> q -> r. % An argument term is missing: p(a ,).