mixermanic
09-09-2009, 08:32 AM
Hi guys,
I am in the process of creating a syntax highlight file for my text editor. Can people who are more experienced than me with MEL (which is probably most people ;) ) please just give this a quick glance and see if there are any noticable errors.
The commands are not listed here - those I am taking from the commands index of the docs.
Line Comment //
Block Comment Start /*
Block Comment End */
Flag -
Brace Open (Indent) {
Brace Closed (Outdent) }
Variable start $
Strings enclosed in "
Single quotes NOT used - is this correct?
DATA TYPES:
int
float
vector
matrix
string
BOOLEAN CONSTANTS:
false
no
off
on
true
yes
FLOW CONTROL:
break
case
continue
default
do
else
for
if
in
switch
while
OTHER KEYWORDS:
alias
catch
global
proc
return
source
OPERATORS ETC:
(
)
[
]
!
%
&
*
+
-
.
/
:
<
=
>
?
^
|
SPECIAL CHARACTERS:
\"
\n
\t
\r
\\
Many thanks,
Martin
I am in the process of creating a syntax highlight file for my text editor. Can people who are more experienced than me with MEL (which is probably most people ;) ) please just give this a quick glance and see if there are any noticable errors.
The commands are not listed here - those I am taking from the commands index of the docs.
Line Comment //
Block Comment Start /*
Block Comment End */
Flag -
Brace Open (Indent) {
Brace Closed (Outdent) }
Variable start $
Strings enclosed in "
Single quotes NOT used - is this correct?
DATA TYPES:
int
float
vector
matrix
string
BOOLEAN CONSTANTS:
false
no
off
on
true
yes
FLOW CONTROL:
break
case
continue
default
do
else
for
if
in
switch
while
OTHER KEYWORDS:
alias
catch
global
proc
return
source
OPERATORS ETC:
(
)
[
]
!
%
&
*
+
-
.
/
:
<
=
>
?
^
|
SPECIAL CHARACTERS:
\"
\n
\t
\r
\\
Many thanks,
Martin
