Line Break
A line break acts as a separator between lines in an ELCL document.
line_break          ::= LF | (CR LF)
Rules
Valid Characters: A line break can be either a single line-feed character (
\n), or a carriage-return followed by a line-feed character (\r+\n).No Standalone Carriage-Return: A standalone carriage-return (Macintosh-style) line break is not allowed.
Optional Newline At End: The newline at the end of the file is optional.
Byte Limit: A single line, including its terminating line break characters, must not exceed 4000 bytes in length. The last line can have a maximum of 4000 bytes content when no newline is present.
Micro-Parsers
The maximum length for a line is 120 bytes.
Implementation Recommendations
The tokenizer should read data from a byte-data stream, line by line, into a buffer, scanning for the line-feed (
\n) character.Once the buffer is filled, its contents should be decoded and then processed into tokens.
Features
Feature  | 
Coverage  | 
|---|---|
core  | 
The full syntax outlined in this chapter is part of the core language.  | 
Errors
Error Code  | 
Causes  | 
|---|---|
Character  | 
Raised if a carriage-return is followed by any character other than a line-feed.  | 
UnexpectedEnd  | 
Raised if the document ends immediately after a carriage-return character.  | 
LimitExceeded  | 
Raised if a line exceeds the allowed maximum size of 4000 bytes.  |