@hackage / simple-expr

Minimalistic toolkit for simple mathematical expression.

Latest0.2.0.2

About

Metadata

  • Last updated , by AlexeyTochin
  • License BSD-3-Clause
  • Categories Mathematics
  • Maintained by: Alexey.Tochin@gmail.com

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.10.3
  2. 9.8.4

Readme

This is a minimalistic toolkit for simple mathematical expression developed for debug purposes similar to simple-reflect package but based on slightly different principles. In particular, we use ordinary syntactic trees instead of turning them into strings.

There is a primitive manipulation capability like

>>> simplify $ (x + 0) * 1 - x * (3 - 2)
0

Besides an expression visualization feature is also provided.

See tutorial for details.