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 Modulus Token at translator frontend #53

Closed
Tracked by #61
samthakur587 opened this issue Aug 20, 2024 · 1 comment · Fixed by #90
Closed
Tracked by #61

Add Modulus Token at translator frontend #53

samthakur587 opened this issue Aug 20, 2024 · 1 comment · Fixed by #90

Comments

@samthakur587
Copy link
Contributor

Implement the MODULO token to recognize the % operator for calculating remainders.

@samthakur587
Copy link
Contributor Author

@Proxihox will be working on this issue

Proxihox added a commit to Proxihox/crosstl that referenced this issue Aug 21, 2024
Proxihox added a commit to Proxihox/crosstl that referenced this issue Aug 22, 2024
AxelB1011 pushed a commit to AxelB1011/crosstl that referenced this issue Aug 22, 2024
rigved-desai pushed a commit to rigved-desai/crosstl that referenced this issue Aug 23, 2024
samthakur587 pushed a commit that referenced this issue Sep 5, 2024
* Added else if to translator

* Removed comment(s)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* added else if support to Directx backend

* added Assignment and, assignment or, assignment xor, xor , assignemnt modulus and modulus to the translator frontend. closes #48,#50,#51,#52,#53

* tests for else_if added

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Implement tokens for unsigned int and double data types (#68)

* feat: Implement tokens for unsigned int and double data types.

* chore: Add test for data type tokenization

* feat: Refactor unsigned int to uint after review and edit tests for same

* fix for multiple else if conditionals

* more fixes for multiple else if conditionals

* More fixes

* Missing newline

* fix CI error

* fix CI error

* Removed name=main

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added tests for multiple if statements

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Nripesh Niketan <nripesh14@gmail.com>
Co-authored-by: Prithvi-Rao <ee22b024@smail.iitm.ac.in>
Co-authored-by: rigved-desai <109571041+rigved-desai@users.noreply.github.com>
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 a pull request may close this issue.

1 participant