Lexical structure and syntax
Lexical analysis
Ocean has a very strait forward lexical model, which is tightly
coupled to the semantics. In other words, each recognisable token has a single
(semantic) meaning. Typical differences with most other comparable languages
are:
- 'identifiers' are less overloaded (Identifiers),
- literals aren't typed (Literals),
- lexical level reflection (),
- comments can be bound to identifiers (),
- special form of operator overloading (),