Posted by
priyanka on
URL: https://forum.librecad.org/GSoC-2014-Introduction-tp5709705p5709714.html
On Fri, Mar 21, 2014 at 5:24 AM, dxli [via LibreCAD]
<
[hidden email]> wrote:
> muparser actually supports units in input:
>
>
http://muparser.beltoforion.de/mup_features.html>
> I feel you may consider expanding the muparser usage/features in LC.
dxli, what if we pre-parse the expression before passing it to muparser?
We just need a pre-parser, all the rest will go same as doing currently.
>Are there any good alternative for muparser?
>
> Maybe not so relevant? can we enable python binding, either use python
> binding for math or command line interface.
I don't think that we need much of mathematical calculations for this
project. muparser is more than enough. It supports strings, and we can
do pre-parse the string easily before passing to muparser.
We just need to design a grammer for user input and parsing it to unit
used in LibreCAD.
What are your views in this?
--
Priyanka Kapoor
priyankacool10.wordpress.com
Linux User Group, Ludhiana