In other words, do it much the same way you might for generating a conventional calculator parser. Large parts of the calculator examples can be lifted directly and reused for a vector math calculator.
Give it a go. If you run into specific trouble come back for more advice. When you get it going post it to Cool Uses For Perl.
In reply to Re: Vector math with recdescent
by GrandFather
in thread Vector math with recdescent
by gmol
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |