Skip to main content

Retki

Retki is a proof-of-concept programming language inspired by Inform 7 and based on the Finnish language. It aims to be a readable and natural-feeling language, to some level understandable to people not knowing it, and easy to learn. To which level these goals were accomplished is debatable, but the result is not bad. Many of the proven features of Inform 7 were succesfully implemented in Finnish.

Below is an example of the language taken from the lyhyt-peli.txt adventure game. It contains two things. First, a property called kirjoitus (text) is added to the esine (item) class along with a boolean flag kirjoitusta sisältävä (containing text). Then an action called lukeminen (reading) is defined. If the player enters a command like lue kirje, the action will be executed and, if both ennen checks are passed, the text in the given item will be showed to the player.

> Lukeminen

Esine on joko kirjoitusta sisältämätön tai kirjoitusta sisältävä.
Esine on yleensä kirjoitusta sisältämätön.

Esineellä on kirjoitukseksi kutsuttu merkkijono.
Esineen kirjoitus on yleensä "".

[Esineen] lukeminen on toiminto.
Tulkitse "lue [esine]" lukemisena.
Tulkitse "lue [esinettä]" lukemisena.

Ennen piilossa olevan esineen lukemista:
        Sano "Et näe sellaista asiaa.".
        Keskeytä toiminto.

Ennen kirjoitusta sisältämättömän esineen lukemista:
        Sano "[Se] ei sisällä mitään kirjoitusta.".
        Keskeytä toiminto.

Kirjoitusta sisältävän esineen lukemisen aikana:
        Sano "Luet [siihen] kirjoitetun tekstin:[rivinvaihto][rivinvaihto]".
        Sano "[sen kirjoitus][rivinvaihto]".

Please read the Finnish documentation for more information.

Metadata

Release files for retki 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for retki 0.13.0
File Size Uploaded Provenance Actions
retki-0.13.0.tar.gz 36.1 kB Without provenance Details for retki-0.13.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for retki 0.13.0
File Interpreter ABI Platform Actions
retki-0.13.0-py3-none-any.whl Python 3 none any Details for retki-0.13.0-py3-none-any.whl

Total release size: 74.7 kB

Release files / retki-0.13.0.tar.gz

Download URL retki-0.13.0.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a81a789030c0327b487b64e7236f16bc4abe0eb70d9a1c1c79d7a6f4f8a4779f
BLAKE2b-256 checksum
How to use checksums
f339b7f85f5145227cb8707ac22fc7e57bd1ed34eaee333e6e7c3ad11a02756e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux Asahi Remix","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / retki-0.13.0-py3-none-any.whl

Download URL retki-0.13.0-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b128fa8a16eca349a85d15f2824e91959790871ab6b5fa2e446ac8c3cc7a2ba
BLAKE2b-256 checksum
How to use checksums
56f86434b2ff9aaeaf70e5f5c64e728cae84bcb2e47c32643990737dc83709e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux Asahi Remix","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for retki 0.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page