Mathematic Expressions Library  0.1
The core math data structures and manipulators
General Info Index
Author
Craig Hesling (craig.nosp@m.@hes.nosp@m.ling..nosp@m.com)
Date
Apr 6, 2014

Introduction

TODO: Stick introduction here...

Expressions

Example: expression is $(1 + 2)$

dot_inline_dotgraph_2.png

Example: expression is $(1 + 2) + 3$

dot_inline_dotgraph_3.png

Development

Quick Links

Helpful for Debugging

  • valgrind –tool=memcheck –track-origins=yes –undef-value-errors=yes –leak-check=full ./expr "1 + 2"
  • valgrind –tool=memcheck –track-origins=yes –undef-value-errors=yes –leak-check=full ./expr "1 + 2"
  • target remote | /usr/lib/valgrind/../../bin/vgdb

Future Wish List

  • Make string_to_expression take a start index parameter. This would allow recursive calls to not need temporary string buffers and syntax errors to contain proper index numbers.
  • Handle floats and doubles
  • Handle builtin functions