This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MathCalc: a parser for basic mathematical expressions | |
// From here: https://paiv.github.io/blog/2016/03/23/js-calc.html | |
// | |
// | |
// Copyright (c) 2016, Pavel Ivashkov, github.com/paiv | |
// | |
// Permission to use, copy, modify, and/or distribute this software for any | |
// purpose with or without fee is hereby granted, provided that the above | |
// copyright notice and this permission notice appear in all copies. |