parrot

command module
v0.0.0-...-548cf37 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

README

parrot

parrot is a simple calculator in go.

my goal is for parrot to be a multi-tool of sorts for command-line maths and computations. I've added a few tools for programmers/designers already, but I'd like these to be modular and plentiful, so I'll be integrating a plug-in system at some point.

working on

  • custom math evaluator
  • custom parser

current features

  • most basic maths
  • command history
  • live reloading config (courtesy of viper)
  • variables
  • constant system (poorly designed)
  • HTML color converter

planned features

  • custom token based math parser to allow units and constants better
  • reimplement plugins to be go plugin based, allowing addition of modules without recompilation of the base tool.
  • implied multiplication (like "4x" -> "4 * x")
  • implement the standard set of math functions
  • reimplement constants and variables to be truly dynamic and modular (categories, multiple constant lists)
  • more programmer tools
  • dynamic config tool
  • more config options
  • ip calculator: subnet, ip-binary

libraries

  • spf13/viper (here to stay)
  • sirupsen/logrus (here to stay)
  • chzyer/readline (here to stay)
  • fatih/color (here to stay)
  • go-playground/colors.v1 (will probably be removed, but its a small library used in a tool so eh?)

to deprecate

  • Knetic/govaluate (will be removed)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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