New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

positionally

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

positionally

A 2d language where there are no commands

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Positionally

Positionally is a 2d language in which only the presence and lack of commands matter. What command is executed depends on the instruction pointer's location.

Commands

//<v>v\\
/012345\
>6789&|^
^+-*%d@<
>?.,:"$v
v()~{};<
\=sjpgS/
\\^<^>//

<>^v\/ - What you'd expect 0-9 - single numbers +-*%d - Maths operations @ - an IP starts here ? - Take input (-1 at EOF, but cycling) . - Print as char , - print as num : - dup " - stringmode (record nonspaces until next at pos) $ - swap () - less/greater ~ - pop {} - shift left/right ; - Terminate IP = - Equal? s - Skip next op if nonzero j - Pop two numbers and jump p - Pop two numbers and an ord and put char g - Pop two numbers and get char at point S - Unconditionally skip next instruction &| - push/pop global stack

Keywords

2d

FAQs

Package last updated on 14 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts