highlighting source code
Ulf Wiger
etxuwig@REDACTED
Wed Nov 21 10:14:30 CET 2001
On Wed, 21 Nov 2001, Gabi wrote:
>Buenaaas!
>
>Someone have the SynEdit Editor profile for Erlang? or a list
>of reserved words and functions in plain text.
I don't know, but one place to start could be
$OTP_SRC_ROOT/lib/parsetools/src/esyntax.yrl
It contains a grammar for Erlang, and as part of that, a list of
terminals for the grammar:
Terminals
'!' '(' ')' '*' '+' ',' '-' '->' '/' '/=' ':' ';' '<' '=' '=/='
'=:=' '=<' '==' '>' '>=' '[' ']' 'after' 'band' 'begin' 'bnot'
'bor' 'bsl' 'bsr' 'bxor' 'case' 'catch' 'div' 'end' 'if' 'of'
'receive' 'rem' 'when' '{' '|' '}' atom float integer string var.
/Uffe
--
Ulf Wiger, Senior Specialist,
/ / / Architecture & Design of Carrier-Class Software
/ / / Strategic Product & System Management
/ / / Ericsson Telecom AB, ATM Multiservice Networks
More information about the erlang-questions
mailing list