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

Funding Syntect features that enable new syntax definitions (TypeScript etc.)? #473

Closed
rauschma opened this issue Apr 17, 2023 · 2 comments

Comments

@rauschma
Copy link

rauschma commented Apr 17, 2023

AFAICT, the following two issues currently prevent Syntect from being able to use new Sublime syntax definitions (such as the one for TypeScript):

Would funding help with fixing these issues? How much money would it be?

Context: I’m writing a Markdown-based book generator in Rust (to be open sourced eventually) and I’d like to use Sublime’s new syntax definitions.

@keith-hall
Copy link
Collaborator

Hi, great question! I would find it hard to even estimate how long it would take to add support for these latest features, as so many things will need to change/be refactored etc. The whole API will look different, as it can no longer return a list of scope operations per line due to the ability to backtrack up to 500 lines for the branch points etc. And I'm pretty sure it is going to need to return the "scoped tokens" instead of scope operations, lots of complexity already comes from how it applies meta scopes etc. which make it hard to support the pop: n feature as it is.

But how much would funding help? I'm not sure. Without quitting the day job, funding can only help with prioritization, not with getting extra time. So I personally suspect progress will be slow with or without funding...

@rauschma
Copy link
Author

That makes sense. Thanks for the reply!

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

2 participants