Free Pascal compute evaluator (Developers)
> Well, my parser has no advanced features like real user functions because
> I wrote it mainly for my own needs when I need to quickly compute some
> evaluation. Only rarely is it something more compicated than just +-/*
Yes, but in comparisons of evaluators it was always held against it. And admitted, if it comes precompiled with FPC, it is kind of limiting. So I'm current implementing this.
> Mine parser has some limited support for operators like OR, XOR, AND, NOT
> It is also supposed for repeating computing and making graphs
Yes, fast eval for graphs, mine too. But I limit myself to work without assembler because FPC is portable.
> so it can
> handle things like "+-" (for cases like "a+b" where for B will be
> substituted to f.e. -1)
Yes, unary minus is handled properly. I also try to return a position where a parser fault surfaces if possible.
Complete thread:
- Free Pascal compute evaluator - marcov, 03.07.2008, 16:51 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Free Pascal compute evaluator - Laaca, 03.07.2008, 19:46
- Free Pascal compute evaluator - marcov, 04.07.2008, 22:12
- Free Pascal compute evaluator - Laaca, 05.07.2008, 09:34
- Free Pascal compute evaluator - marcov, 06.07.2008, 19:18
- Free Pascal compute evaluator - Laaca, 05.07.2008, 09:34
- Free Pascal compute evaluator - marcov, 04.07.2008, 22:12
- Free Pascal compute evaluator - Laaca, 03.07.2008, 19:46
Mix view