Skip to main content

possibly the world's most simplest and restricted language.

Project description

NumberScript

possibly the world's most simplest and restricted language.

Features

  • No spaces (Yup, you read that right)
  • Comments
  • Only 4 commands
  • A shell and a runner

Docs

commands

commands:  0  |  1  |  2  |  3  |
comments: %
arithmetic: ^
operations: + | - | * | / |

NOTE: You can't have different arithmetic signs in a single ^ : so you can do this 1+1+2 but not 1+1*2 : Also NO SPACES.

syntax

A basic program

%Test.ns
0 %Starts %The %Program
3a:Hello %Sets %The %Variable %a %to %Hello
2a %Displays %a
1 %Ends %The %program

Addition

%calculating
0
3a:4
3b:8
^a+b %NoSpacesPlease
1

So, since there aren't any spaces what can we use instead of them?

You can use _ or -.

To-Do

  • If-Else

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

NumberScript-1.5.5.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file NumberScript-1.5.5.tar.gz.

File metadata

  • Download URL: NumberScript-1.5.5.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for NumberScript-1.5.5.tar.gz
Algorithm Hash digest
SHA256 6fce2f69248886d087aa7edb8b800a02edf282812734e68f85cab635e688ab93
MD5 82e4a7338ad71ebeba2289d9eab2700d
BLAKE2b-256 34487f3054245e4aa2f8c9e400ddc54317b53517aba7d64e75c307cdfea8da57

See more details on using hashes here.

Supported by

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