vectro

module
v0.0.0-...-63c82d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2025 License: MIT

README

Vectro

The rpn calculator for your terminal.

logo

Screenshot

demo

What is this?

ci

Vectro is an rpn calculator for your terminal. Many people consider rpn easier and faster than traditional calculators. Vectro is written in Go using the excellent Bubble Tea package and distributed as a single executable.

Installation

On MacOS use brew:

$ brew install gurgeous/tap/vectro

For Linux and Windows, see the latest release on github. You'll find MacOS builds in there too, but they are difficult to run since they are unsigned.

Then run vectro like this:

$ vectro

Features

  • Responsive, works with many terminal sizes
  • Stack is saved across sessions
  • Niceties like Paste (yank) and Undo, error messages, etc.

Future Work

  • advanced ops (autocomplete, shift-ctrl-p)
  • animate when stack changes
  • theming

Operators Not Yet Implemented

  • abs / ln / square
  • deg/rad / cos/acos / sin/asin / tan/atan
  • lcm/gcd / prime (prime factorization)
  • floor/ceil/round
  • bin/oct/hex / << >> & | ^ ~
  • rgb / hsl / oklch

Special Thankss

These open source projects helped make Vectro possible. Thanks everybody!

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL