About
Objectd is an object-oriented programming language. It is based on C++, Java, JS, Forth and Minim.
Semantics
Data types
Variable
In Objectd, variables can only store double-precision floating point numbers.
Literals and constants
Type |
Example
|
Decimal |
-123.12
|
Hexadecimal |
0xFB.43
|
Octal |
0o12
|
Scientific |
1E+14
|
Charcode |
'A', ' ', '\n'
|
Special constants |
INF, NAN, PI, E
|
Escape codes
Escape |
Description
|
\\ |
\
|
\' |
'
|
\" |
"
|
\n |
Newline
|
\r |
Carriage Return
|
\t |
Horizontal tab
|
\v |
Vertical tab
|
\#---- |
Hexadecimal 4-digit Unicode
|