Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Free Pascal compute evaluator (Developers)

posted by marcov, 06.07.2008, 19:18

> 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:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum