TerrorJack / ghc-alter

Utilities for building Haskell tooling with ghc.
9 stars 0 forks source link

Implement "symbol server" #6

Closed TerrorJack closed 7 years ago

TerrorJack commented 7 years ago

A symbol server is a KV database, indexed by binding Names.

TerrorJack commented 7 years ago

Simplest way: an STM-based map. Deserialize when starting the plugin, serialize when the plugin finishes.

TerrorJack commented 7 years ago

For simplicity, resorting to Module-level stores instead of Name-level, so closing for now.