An open API service indexing awesome lists of open source software.

https://github.com/gil9red/hq9plus

Interpreter HQ9+ (Python)
https://github.com/gil9red/hq9plus

Last synced: 12 months ago
JSON representation

Interpreter HQ9+ (Python)

Awesome Lists containing this project

README

          

Interpreter HQ9+
===========

####EN:
Interpreter language HQ9+.
It has four "operations":
* H: print "Hello, world!"
* Q: print the program's source code (sometimes called a quine)
* 9: print the lyrics to 99 Bottles of Beer
* +: add one to the accumulator (the value of the accumulator cannot be accessed)

####RU:
Интерпретатор языка HQ9+.
Команды:
* Команда «H» выводит сообщение «Hello, world!»;
* Команда «Q» выводит исходный код программы, которая выполняется (то есть, куайн);
* Команда «9» выводит слова стихотворения 99 Bottles of Beer on the Wall;
* Команда «+» увеличивает на единицу (инкрементирует) счетчик, который больше никак нельзя использовать.