Math-Parser

Tim Holzschuh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 2 15:34:37 PDT 2014


Hi there,

I currently try to write a simple math-parser in D.

However.. something isn't working and I just can't figure out what's the 
problem.
(I'm relative new to D, and this is my first test to write a parser/lexer)

I'm pretty sure it's a simple layer-8-problem, but I always overlook it.

While the Lexer seems to work, the Parser just sets _index -> 0
(and I don't understand why..).

If you would take a look at [1], I'd be very thankful..

Most probably this isn't a wrong use of something D-specific, it's more 
like I am stuck..^^

Thank you,
     Tim

[1]: https://github.com/tholzschuh/math-parser




More information about the Digitalmars-d-learn mailing list