eĿlipsis
a language independent preprocessor
 
Loading...
Searching...
No Matches
Specials

Specials are special sequences of characters that have a specific sematics in the target language. They are encoded with two character sequences, a start and a closing, and have contents between these two.

Remarks
Some special starters may not start at arbitrary positions but have to be the first token on the line. This is not yet properly handled by eĿlipsis.
Many specials have the end of the line as closers. This is encoded by using "\n" as a closer.
See also
Decorations: specials for line starts only

Specials valid for all languages

string literals that are mandatory for eĿlipsis

start end category note
"U\"" "\"" string
"\"" "\"" string
"u8\"" "\"" string
"u\"" "\"" string
"x\"" "\"" binary
"B\"" "\"" base64
"R\"" "\"" verbatim
"uR\"" "\"" verbatim
"UR\"" "\"" verbatim
"u8R\"" "\"" verbatim
"LR\"" "\"" verbatim

Special include paths for all languages

Pointing angle brackets (code points U2329 and U232A) are accepted as general syntax to determine include paths.

start end category note
"〈" "〉" string

C specials

C comments

start end category note
"//" "\n" comment
"/*" "*/" comment

Special include paths for C

In C, less and greater signs are accepted complementing pointing angle brackets to determine include paths.

start end category note
"<" ">" string

Character constants and wide strings

start end category note
"\'" "\'" character
"U\'" "\'" character
"u\'" "\'" character
"u8\'" "\'" character
"L\'" "\'" character
"L\"" "\"" string
See also
c_directives

Html specials

Html constructs with different syntax elements

start end category note
"<!" ">" special
"<style>" "</style>" special
"<script>" "</script>" special

Html comments

start end category note
"<!--" "-->" comment

Directives in html

start end category note
"<!--#" "-->" directive

Markdown specials

Verbatim code inclusion

start end category note
"`" "`" code
See also
Markdown special that starts at the beginning of lines
Html comments
Directives in html

Decorations: specials for line starts only

A generic directive and comment starter

These two special directives on entire lines are recognized for all languages.

start end category note
"⎔" "\n" directive U2394, Software-Function Symbol
"⎔⎔" "\n" comment two times U2394

C directives

start end category note
"%\r:" "\n" directive
"#" "\n" directive

Markdown special that starts at the beginning of lines

start end category note
"```" "```" codeblock