[haiku-commits] Re: haiku: hrev48116 - src/apps/debugger/source_language/expression_evaluators

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 27 Oct 2014 07:53:06 -0400

On 10/27/14, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
> I'm not sure whether it makes that much sense to use the MAPM library in
> debugger at all. I'd use the primitive integer and floating point types
> available in C++ -- also to get the same behavior (like overflows). That
> means some kind of number class also dealing with the typing is needed
> for the expression evaluator, replacing the MAPM type.

Makes sense. If I understand your intent correctly, then I'd guess
that also implies that the user needs to be able to indicate which
primitive type to evaluate the expression as, in order to get the
desired semantics?

Regards,

Rene

Other related posts: