felixhao28/JSCPP

Better Display Values

alexandruionascu opened this issue · 0 comments

I was wondering if we could provide better display values, after having a look on the code I think there could be done with small adjustments.

  • Is there any straightforward solution to provide a better display for multidimensional arrays? So far, starting from 2D the display value is: [...] for each element. There is a parameter which stops the recursion after first dimension, are any other sections which are intersecting?
  • Could the values from pointers include (if not an actual address) the name of the variable being pointed?
  • Functions are being represented as $[object], we could use a suggestive placeholder.