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

TODO tasks for directx backend #175

Open
8 of 20 tasks
samthakur587 opened this issue Sep 24, 2024 · 1 comment
Open
8 of 20 tasks

TODO tasks for directx backend #175

samthakur587 opened this issue Sep 24, 2024 · 1 comment
Labels
Directx backend issue at directx backend enhancement New feature or request hacktoberfest ToDO A ToDO list of task

Comments

@samthakur587
Copy link
Contributor

samthakur587 commented Sep 24, 2024

Task: Add Support for Additional Operators and Keywords in the DirectX Backend

This task is focused on extending the functionality of the DirectX backend by adding support for several new tokens. These tokens must be added to the lexer.py, properly parsed in parser.py, and correctly translated in directxtocrossglcodegen.py to ensure full compatibility within the CrossTL ecosystem.

  1. Update lexer.py:

    Add new operators and keywords for each task as given .

  2. Update parser.py:

    Modify the parser to ensure that the new tokens are recognized and processed accurately.

  3. Update directxtocrossglcodegen.py:

    Ensure that these tokens are properly translated from HLSL to CrossGL. Extend the logic for code generation to handle these new operators and keywords in DirectX shader code.

  4. Add Bitwise Operators:

  5. Add Logical Operators:

  6. Add Assignment Operators for Bitwise Operations:

  7. Add Scalar Types (half, double):

  8. Add static Keyword:

  9. Add control flow statement Keyword:

  10. Add pre processor Keyword:

This task is created for Hacktoberfest to welcome contributors to improve the project’s functionality by supporting these new tokens. Contributors should follow the contributing guidelines provided in the repository.

for and query feel free to ask on our discord server we will be happy to help you out 😄

We welcome contributions and encourage developers of all levels to participate!

Cheers! 🎉
Good luck with CrossTL and Hacktoberfest! If you need further assistance, feel free to ask anytime. Happy coding!

@samthakur587 samthakur587 added Directx backend issue at directx backend enhancement New feature or request hacktoberfest ToDO A ToDO list of task labels Sep 24, 2024
@CrossGL CrossGL locked and limited conversation to collaborators Sep 24, 2024
@CrossGL CrossGL unlocked this conversation Sep 24, 2024
@CrossGL CrossGL locked and limited conversation to collaborators Sep 24, 2024
@CrossGL CrossGL unlocked this conversation Sep 24, 2024
@AxelB1011
Copy link
Contributor

Can I take this one please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Directx backend issue at directx backend enhancement New feature or request hacktoberfest ToDO A ToDO list of task
Projects
None yet
Development

No branches or pull requests

2 participants