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 an OpenSCAD syntax file #3410

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

jmcorey
Copy link
Contributor

@jmcorey jmcorey commented Aug 1, 2024

I wrote a yaml syntax parsing file for .scad files (OpenSCAD--a 2D&3D modelling
program), based on the references shown in the comments at the top of the file.

runtime/syntax/scad.yaml Outdated Show resolved Hide resolved
runtime/syntax/scad.yaml Outdated Show resolved Hide resolved
Update from PR feedback:
Coalesce multiple statement rules into one.
Coalesce multiple constant.number into one.

Update from more PR feedback:
Fix special variables (starting with $)--var must start with $,
i.e. x$y is not a valid special var, but you can have x=$y.

Compiled and tested again with latest changes.
@JoeKar JoeKar merged commit d8f7928 into zyedidia:master Sep 4, 2024
3 checks passed
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