# BNF language definition file
#
# Author: Julien Fontanet
#   Mail: julien.fontanet@isonoe.net
#   Date: 2009-12-06
# ------------------------------------------

$DESCRIPTION=Backus-Naur Form

$IDENTIFIER=regex([-a-zA-Z_]+|<[-a-zA-Z_]+>)

$KEYWORDS(kwa)=regex(^[ \t]*([-a-zA-Z_]+|<[-a-zA-Z_]+>)\s*[:=])

$IGNORECASE=false

$STRINGDELIMITERS="

$SL_COMMENT=//

$ML_COMMENT=/* */

$ALLOWNESTEDCOMMENTS=false

$SYMBOLS= ( ) [ ] { } | . : =

