Refal is a programming language created in 1968 by Valentin Turchin.
#1060on PLDB | 56Years Old |
Refal (Recursive functions algorithmic language) "is functional programming language oriented toward symbol manipulation", including "string processing, translation, [and] artificial intelligence". It is one of the oldest members of this family, first conceived in 1966 as a theoretical tool with the first implementation appearing in 1968. Refal was intended to combine mathematical simplicity with practicality for writing large and sophisticated programs. Read more on Wikipedia...
$ENTRY Go { = <Hello>;}
Hello {
= <Prout 'Hello World'>;
}
* Hello world in Refal
$ENTRY Go { = <Hello>;}
Hello {
= <Prout 'Hello world'>;
}
Squeeze {
'__'e.1 = <Squeeze '_'e.1>;
s.A e.1 = s.A <Squeeze e.1>;
= ; };
Feature | Supported | Example | Token |
---|---|---|---|
Strings | ✓ | 'Hello world' | ' |
Print() Debugging | ✓ | ||
Comments | ✓ | * A comment | |
Line Comments | ✓ | * A comment | * |
Semantic Indentation | X |