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

chore: Use official grammar repo for OpenSCAD #896

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mkatychev
Copy link
Contributor

@mkatychev mkatychev commented Mar 6, 2025

Use official grammar repo for OpenSCAD

References Leathong/openscad-LSP#35

Description

tree-sitter-openscad has moved to the https://github.com/openscad org where the NPM package, crate, and python lib are pushed from. This PR updates the grammar location in languages.ncl and flake.nix to point to https://github.com/openscad/tree-sitter-openscad/

Checklist

Checklist before merging, wherever relevant:

@mkatychev mkatychev changed the title Point to OpenSCAD org repo for OpenSCAD grammar Use official grammar repo for OpenSCAD Mar 6, 2025
@mkatychev
Copy link
Contributor Author

@Xophmeister should I avoid manually updating flake.lock? #888

@mkatychev mkatychev changed the title Use official grammar repo for OpenSCAD chore: Use official grammar repo for OpenSCAD Mar 6, 2025
@mkatychev mkatychev marked this pull request as ready for review March 6, 2025 17:14
@mkatychev
Copy link
Contributor Author

@@ -52,6 +52,7 @@ This name should be decided amongst the team before the release.
<!-- - <Changes in existing functionality> -->
- [#859](https://github.com/tweag/topiary/pull/859) Break up integration tests per language, thanks to @mkatychev
- [#871](https://github.com/tweag/topiary/pull/859) Switch to `mold` linker for CI tests, thanks to @mkatychev
- [#871](https://github.com/tweag/topiary/pull/896) Use official grammar repo for OpenSCAD, thanks to @mkatychev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [#871](https://github.com/tweag/topiary/pull/896) Use official grammar repo for OpenSCAD, thanks to @mkatychev
- [#896](https://github.com/tweag/topiary/pull/896) Use official grammar repo for OpenSCAD, thanks to @mkatychev

@Xophmeister
Copy link
Member

should I avoid manually updating flake.lock? #888

It's fine to update it outside of the automation we now have 👍 In fact, it's probably necessary for the CI to run on this PR.

Seems there's compatibility issues: https://github.com/tweag/topiary/actions/runs/13704201091/job/38325408688?pr=896#step:9:618

Have the grammars changed between your version and this official version? I haven't looked into them, but that's the only thing I can think of (not that much has happened since your original OpenSCAD contribution was merged).

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

Successfully merging this pull request may close these issues.

2 participants