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

Generate syntax highlighting files #103

Open
vanillajonathan opened this issue Feb 13, 2023 · 4 comments
Open

Generate syntax highlighting files #103

vanillajonathan opened this issue Feb 13, 2023 · 4 comments

Comments

@vanillajonathan
Copy link

After you create a parser then you have write syntax highlighting files to syntax highlight the language your parser parses. When doing changes to the parser you manually have to update these files.

It would be good if you could generate such syntax highlight files for:

@francisrstokes
Copy link
Owner

Hey @vanillajonathan - I can see the problem this would cause. I'm not sure there is a way to solve this generically in the library, as arcsecond doesn't tie to your parser down to any particular structure.

Did you already have an idea about how this might be tackled?

@vanillajonathan
Copy link
Author

No, I don't have any idea how this would be tackled, it was just a wild idea. I am unaware of how arcsecond works. Please feel free to close this issue if you deem it nonviable.

@odama626
Copy link

odama626 commented Mar 19, 2024

I just had a similar thought, it would be really cool if there was a supplemental package that took the arc second parser and created a language server from it.

Its what vscode / neovim / helix / maybe Monaco uses?

@odama626
Copy link

In the same way there could be supplemental packages for other editors something like @arcsecondjs/manaco etc

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