Skip to main content

Makefile CI Coverage PyPI version Python versions Python wheel

unicat-esolang

Python 3 Port of Unicat Esoteric Language created by gemdude46. See this Sample Programs in Every Language article for a description of the language.

Prerequisites

Python 3.8 or later

Installing or Updating

This package has no dependencies, so it is safe to do this:

pip install --user -U esocat-lang

However, if you want to install this is in virtualenv, you can do this once you have activated the virtualenv:

pip install -U esocat-lang

Usage

Use this to run your Unicat program:

unicat [-d/--debug] FILENAME

where:

  • -d or --debug enables debugging
  • FILENAME is the path to the Unicat program

Debugging

When unicat is run with -d or --debug, the python debugger is entered before each instruction. The first time, a welcome screen is displayed:

Welcome to the Unicat debugger

Here are the commands:

- show_ins()           - Show instructions
- show_mem()           - Show all memory
- show_mem(start)      - Show memory address `<start>`
- show_mem(start, end) - Show memory address `<start>` to `<end>`
- c                    - Execute next instruction

Everything else is just a pdb command.
See https://docs.python.org/3/library/pdb.html for details.

When the debugger is entered, the current instruction is displayed. For example:

Current instruction:
Address 0 (0o0): asgnlit 0 (0o0), 72 (0o110 = 'H')
> ...execute_instructions()
-> if it[0] == "diepgrm":

Examples

Example programs can be found here. These programs are also used for unit testing the Unicat language implementation.

Metadata

Release files for unicat-esolang 0.1.4

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

Source distribution (sdist)

Source distribution for unicat-esolang 0.1.4
File Size Uploaded
unicat_esolang-0.1.4.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unicat-esolang 0.1.4
File Interpreter ABI Platform
unicat_esolang-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / unicat_esolang-0.1.4.tar.gz

Download URL unicat_esolang-0.1.4.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9fe5cee31214cb55d6d26184bdb66847932e0d63dbcffa653a37fdf551608f89
BLAKE2b-256 checksum
How to use checksums
260c7f2bec2efe6ed9289c21be547ca7f48894280e4533d5369ea48ec0252a0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.8.18 Linux/5.15.0-1041-azure

Release files / unicat_esolang-0.1.4-py3-none-any.whl

Download URL unicat_esolang-0.1.4-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0446491cb0e9724fd03ab8f553b4d134ca1fad2a05454bc3c8a5c0feabec2e52
BLAKE2b-256 checksum
How to use checksums
4e5b2cd90b1249c35aea27b40714880ca3c6dc39928277ce0d8c072afcae9030
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.8.18 Linux/5.15.0-1041-azure

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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