Joseph Lenox 202a90ff90 Math evaluation in gcode (#4157)
* Prototype gcode infix math, very basic.

* Adding exprtk math parser library, header only.
@ArashPartow
https://github.com/ArashPartow/exprtk@4e1315a87dcc99a1ccad21fae1def0c2d4913c0f

* Now evaluating strings with exprtk, only support no variables in input
strings.

* Moved executable code to cpp file, stubbed out xsp and let the testing begin...

* Added conditional gcode parser into export path, added tests.

* Added one more test to ensure that {if0} only removes up to newlines.

* Test failure to parse

* Add some compiler flags to compile out stuff from exprtk

* Fix debug messages to be more specific, don't use deleted stringstream = method.

* Trade expression speed for apparently around 50MB of object size.

* Removed an extra trim that was breaking existing tests.

* fix test

Fixes #3390
2017-10-20 21:40:05 -05:00
..
2017-10-19 23:35:39 -05:00
2017-10-20 21:40:05 -05:00
2016-12-19 14:58:05 +01:00
2017-05-19 17:25:53 +02:00
2015-07-02 14:29:20 +02:00
2016-11-24 15:38:59 +01:00
2014-11-15 23:06:15 +01:00
2015-01-15 18:49:07 +01:00