Skip to main content

Arsla: A concise code golfing language for expressive problem-solving

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arsla_lang-0.1.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arsla_lang-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file arsla_lang-0.1.0.tar.gz.

File metadata

  • Download URL: arsla_lang-0.1.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for arsla_lang-0.1.0.tar.gz
Algorithm Hash digest
SHA256 65ed9879b7489b874b49d00841f72fce3ca9dd82083cb98c3449f657ae0f5a2c
MD5 4debb58b13c9497173ccfad89e19105f
BLAKE2b-256 d2a49acd45211d67a1c6296ac9cfcbafb16a038196f76794b479b9787c4d7d17

See more details on using hashes here.

File details

Details for the file arsla_lang-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: arsla_lang-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for arsla_lang-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afa933df4268a8eafd0cb006407ec6ccfffac5eab5fc4d199d0b4d43e3ff6bf0
MD5 676013c0cac1e8bee523b434ba9d5efb
BLAKE2b-256 3eeeca262f9be93b48693291fd380a2ef51a7145e502fe1588aebf45b486e455

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page