Rapira
- Rapira is also a name for the Soviet 100 mm anti-tank gun T-12
dynamic | |
Scope | Lexical (static) |
---|---|
Platform | Agat, PDP-11 (clones: Electronika, DVK series); Intel 8080, Zilog Z80 |
Influenced by | |
ALGOL, POP-2, SETL |
Rapira (
dynamic type system and high level constructions. The language originally had a Russian-based set of reserved words (keywords), but English and Romanian were added later. It was considered more elegant and easier to use than Pascal implementations of the time.[according to whom?
]
Rapira was used to teach computer programming in Soviet schools.[1] The integrated development environment included a text editor and a debugger.
Sample program:
ПРОЦ СТАРТ() ВЫВОД: 'Привет, мир!!!' КОН ПРОЦ
The same, but using the English lexics [sic, from the article referenced below]:
proc start() output: 'Hello, world!!!'; end proc
Rapira's ideology was based on languages such as POP-2 and SETL, with strong influences from ALGOL.
Consequently, for example, Rapira implements a very strong, flexible, and interesting data structure, named a tuple. in Rapira, these are heterogeneous lists with allowed operations such as indexing, joining, length count, getting of sublist, easy comparison, etc.
References
- Andrey Ershov(Report). AP Ershov Institute of Informatics Systems, Siberian Branch of the Russian Academy of Sciences (ISI SB RAS). Retrieved 16 April 2021.
External links
- ReRap2 on GitHub, interpreter for English dialect of Rapira
- Rapira Reborn, instructional book for learning Rapira