The Hyper Programming Language |
home | language reference | compiler | hyper on launchpad |
A reserved keyword is an identifier that is reserved for special syntactical purposes. This means that such a keyword cannot be used to name classes, procedures, variables etc.
Important notes about reserved keywords:
This is a list of the reserved keywords currently used in the language or reserved in the compiler, together with references to language features that use that keyword. The introduction of new language features can add extra keywords to this list.
keyword | usage & more info |
---|---|
abstract |
classes, procedures |
alias | reserved for future use |
assert | reserved for future use |
attribute | reserved for (possible) future use |
auto | reserved for future use |
base | refers to base class (currently unused) |
begin | begin declaration |
bool | built-in type |
break | break statement |
byte | built-in type |
case | reserved for future use |
catch | reserved for future use |
char | built-in type |
class | classes |
const | procedures, types |
continue | continue statement |
count | iterate statement |
double | built-in type |
else | if statement |
end | close a block element |
enum | enumerations (currently unused) |
extern | reserved for future use |
false | literal expressions |
finally | reserved for future use |
friend | reserved for future use |
from | currently not used anymore |
generic | reserved for future use |
if | if statement |
implicit | reserved for future use |
import | importing other source files |
in | used in the new version of the iterate statement |
inout | input/output parameter |
int | built-in type |
int16 | built-in type |
int32 | built-in type |
int64 | built-in type |
interface | reserved for future use |
iterate | iterate statement |
loop | loop statement |
namespace | namespaces |
nat | built-in type |
nat16 | built-in type |
nat32 | built-in type |
nat64 | built-in type |
new | new expression, constructors |
null | literal expressions |
object | built-in type |
operator | reserved for future use |
option | reserved for future use |
out | reserved for future use |
post | reserved for future use |
pre | reserved for future use |
private | classes |
procedure | procedures |
protected | classes |
public | classes |
pure | reserved for possible future use (pure functions) |
real | built-in type |
return | return statement |
root | reserved for future use (refers to the root namespace) |
scope | reserved for possible future use |
sealed | classes, procedures |
select | reserved for future use |
single | built-in type |
static | classes, procedures, fields |
step | currently not used anymore |
string | built-in type |
system | literal expressions, standard library |
then | if statement, loop statement |
this | literal expressions |
throw | reserved for future use |
to | currently not used anymore |
true | literal expressions |
try | reserved for future use |
typedef | type definition (currently unused) |
using | using declaration (currently unused) |
var | variable declarations |
version | reserved for (possible) future use |
when | loop statement |