Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples of working with other libraries #102

Open
1 of 7 tasks
brendanzab opened this issue Jun 24, 2019 · 3 comments
Open
1 of 7 tasks

Add examples of working with other libraries #102

brendanzab opened this issue Jun 24, 2019 · 3 comments

Comments

@brendanzab
Copy link
Owner

brendanzab commented Jun 24, 2019

It would be nice to show how codespan can be used in conjunction with other libraries. Some ones we might want to show are:

Candidate libraries

Incremental Compilation

We get a number of requests (#172, #179) about Salsa, so we could do with a simple example showing how we recommend using it with codespan-reporting!

Parsers

Many people get started building languages using parser generators, so showing them how to get codespan hooked up to these would be very useful!

Pretty printing

It would be nice to have an example of pretty printing types, with source code highlighting, and potentially nifty things like type diffs.

@Stupremee
Copy link
Contributor

I'm currently working on a project that uses codespan-reporting and salsa.

@brendanzab
Copy link
Owner Author

Oh wow, this looks like a nice thing to learn from in general!

@Kixiron
Copy link

Kixiron commented Aug 1, 2020

I made a minimal example of using salsa & codespan-reporting to get on-demand computation (so you only calculate spans and stuff for the errors you actually emit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants