Declan Naughton

Results 181 comments of 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?...

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)) ![image](https://user-images.githubusercontent.com/353214/146072743-9066fad3-b22f-4d44-9b4a-fdab255c4f7f.png)...

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/) ![image](https://github.com/calculang/calculang/assets/353214/69f1539e-f34b-4b03-84a2-47d5f579d046)