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 support for GDScript 2 / Godot 4 #2066

Open
jasonmccollum opened this issue Sep 2, 2024 · 0 comments
Open

Add support for GDScript 2 / Godot 4 #2066

jasonmccollum opened this issue Sep 2, 2024 · 0 comments
Labels
lexer-request A request for a lexer to be developed.

Comments

@jasonmccollum
Copy link

Rouge currently has support for GDScript 1, but is missing support for GDScript 2, which is used in Godot 4.x: https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html

As the core syntax is largely the same between versions (ie functions and variable declarations are the same between 1 and 2), it might be possible to simply add the additional keywords to the existing GDScript lexer to support both versions of the language with the existing lexer unless there's a preference for having a separate one for each version of the language.

@jasonmccollum jasonmccollum added the lexer-request A request for a lexer to be developed. label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lexer-request A request for a lexer to be developed.
Projects
None yet
Development

No branches or pull requests

1 participant