mirror of
https://github.com/grin-compiler/haskell-code-spot.git
synced 2024-09-11 04:55:24 +03:00
1.1 KiB
1.1 KiB
Haskell Code Spot
Visual tool to spot odd runtime behaviour of Haskell programs.
Keywords: data scientist, GHC eventlog, UI experiments, creative/live coding
Learn these for coding
- HTML + CSS + JS
- Svelte (https://svelte.dev/tutorial/basics)
- D3.js (https://www.youtube.com/watch?v=_8V5o2UHG0E)
- CodeMirror (https://codemirror.net/doc/manual.html#api)
- Scotty (https://hackage.haskell.org/package/scotty)
- GHC RTS design (https://takenobu-hs.github.io/downloads/haskell_ghc_illustrated.pdf)
- GHC Eventlog (https://www.well-typed.com/blog/2019/09/eventful-ghc/)
- ghc-events library (https://hackage.haskell.org/package/ghc-events)
- GHC HIE files (https://www.haskell.org/ghc/blog/20190626-HIEFiles.html)
Quick Start Guide
In one terminal:
$ cd server && stack build && stack exec code-spot-server
In another terminal:
$ cd src && npm install && npm run dev
Now open http://localhost:5000/ in your browser!
You will see a visualisation of data/grin.eventlog (change in client/src/App.svelte).