summaryrefslogtreecommitdiff
path: root/support/highlight/langDefs/boo.lang
blob: 4b2f9007a3a81e8a52df514b7ab661c16bd681ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Python language definition file
#
# Author: Andre Simon
#   Mail: andre.simon1@gmx.de
#   Date: 12.3.2007
# ------------------------------------------
# This file is part of highlight, a free source code converter released under the GPL.
#
# The file is used to describe keywords and special symbols of programming languages.
# See README in the highlight directory for details.
#
# New definition files for future releases of highlight are always appreciated ;)
#
# ----------
# andre.simon1@gmx.de
# http:/www.andre-simon.de/

$DESCRIPTION=Boo

#keywords
$KEYWORDS(kwa)= abstract and as AST break callable cast char class constructor 
continue def destructor do elif else ensure enum event except failure
final from for false get given goto if import in interface internal is isa not 
null of or otherwise override namespace partial pass public protected 
private raise ref retry return self set super static struct success transient 
true try typeof unless virtual when while yield

#macros
$KEYWORDS(kwb)=print assert using lock debug
 
#$KEYWORDS(kwc)=

$KEYWORDS(kwd)=regex((\w+)\s*\()

$STRINGDELIMITERS=""" ''' " '

$RAWSTRINGPREFIX=r

$SL_COMMENT=# //

$ML_COMMENT=/* */

$IGNORECASE=false

$ESCCHAR=regex(\\\d{3}|\\x\p{XDigit}{2}|\\[ntvbrfa\\\?'"])

$SYMBOLS= ( ) [ ] { } , ; . : & | < > !  = / * %  + - @