Skip to main content

Arsla

Stack-based language

License: MIT Python 3.8+ Code Coverage

Arsla is a stack-based code golfing language developed for implicit operations in a modular approach storing information to stack. Arsla uses inituitive approach inspired from Vyxal and 05AB1E in the development. Arsla is a postfix notation based language inspired from the concept of Reverse Polish Notation in its implementation.

The language was inspired by Dijkstra's quote

One morning I was shopping in Amsterdam with my young fiancée, and tired, we sat down on the café terrace to drink a cup of coffee and I was just thinking about whether I could do this, and I then designed the algorithm for the shortest path.


Table of Contents

Introduction

Reverse Polish notation reverses an infix notation to a postfix notation. For example a + b is transcribed to b a +. This repository implements such a programming language that is aimed to golf solutions, or store research-based data. We design an interpreter which aims to develop this goal.

Features

Stack-Based implementation

  • Single-character commands: + (add), ! (factorial), D (duplicate)
  • Implicit I/O: Automatically reads input and outputs the final stack
  • Vectorization: Apply operations to entire array
    Example: [1 2 3]2+ → [3 4 5]

Installation

pip install arsla-lang

Arsla will be downloaded but requiring on system, may have specific alterations.

Release files for arsla-lang 0.1.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 arsla-lang 0.1.0
File Size Uploaded
arsla_lang-0.1.0.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arsla-lang 0.1.0
File Interpreter ABI Platform
arsla_lang-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.0 kB

Release files / arsla_lang-0.1.0.tar.gz

Download URL arsla_lang-0.1.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
65ed9879b7489b874b49d00841f72fce3ca9dd82083cb98c3449f657ae0f5a2c
BLAKE2b-256 checksum
How to use checksums
d2a49acd45211d67a1c6296ac9cfcbafb16a038196f76794b479b9787c4d7d17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / arsla_lang-0.1.0-py3-none-any.whl

Download URL arsla_lang-0.1.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afa933df4268a8eafd0cb006407ec6ccfffac5eab5fc4d199d0b4d43e3ff6bf0
BLAKE2b-256 checksum
How to use checksums
3eeeca262f9be93b48693291fd380a2ef51a7145e502fe1588aebf45b486e455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

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