fwcd / curry-language-server

IDE support for the functional logic language Curry
BSD 3-Clause "New" or "Revised" License
26 stars 2 forks source link

Add support for origin pragmas #68

Closed fwcd closed 3 months ago

fwcd commented 3 months ago

Fixes #26

The Curry frontend now supports generating source mappings in the form of origin pragmas as part of Curry interfaces, which we can use to resolve the proper source location of symbols. Specifically, if a Prelude.icurry exists (from previous compilations by the language server), symbols from the Prelude will still link to Prelude.curry.