Declan Naughton
Declan Naughton
CAN I get sourcemaps included e.g. in actuarial playground, then source is exposed in devtools and MAYBE extensions can detect that? bundleIntoOne after compilations makes 2 map stages to consider?...
matters for tooling
Row proxies interesting in the last link! + Arquero derive https://uwdata.github.io/arquero/api/verbs#derive
debug flag for the generated JS interesting for managing testcases and debugging issues (memo on/off/both?)
This might be easy by leveraging the code we can record at end of calculang-js transform, but will require scope type allowances in language server (so pretty big from that...
On verbose/JS output (see https://github.com/calculang/calculang/issues/34#issuecomment-993776897) the vscode call hierarchy works. (I needed to manually rename import files, but this can(will) be fixed under verbose output (=>allowing more packaging formats/experiments)) ...
VS Code references UI is terrible but here are examples showing that it can be extended: https://github.com/beicause/call-graph?tab=readme-ov-file https://github.com/arpinfidel/vscode-chartographer
using flower model, calls used by `result` (leading back to inputs stacked on RHS; however not showing how some inputs are summarised away after the circle calls (`r`, `x0`, `y0`):...
Adding visualization tag, but this should be developed first for documentation and for a website `example-viewer` feature. I would use d3 (closer to metal & vega/lite have poor indented tree...
charogrepher extension has a nicer and interactive output via [cytoscape.js](https://js.cytoscape.org/) 