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

Implement Operator, Bitwise OrXor CPPOPS_CPPTYPES #98

Open
wbraswell opened this issue Apr 14, 2019 · 7 comments
Open

Implement Operator, Bitwise OrXor CPPOPS_CPPTYPES #98

wbraswell opened this issue Apr 14, 2019 · 7 comments

Comments

@wbraswell
Copy link
Owner

wbraswell commented Apr 14, 2019

Implement the ast_to_cpp__generate__CPPOPS_CPPTYPES() C++ code generation subroutine for the "bitwise or/xor" operator:

https://github.com/wbraswell/rperl/blob/master/lib/RPerl/Operation/Expression/Operator/Bitwise/OrXor.pm

Ensure all tests continue to pass in both the existing PERLOPS_PERLTYPES mode as well as the new CPPOPS_CPPTYPES mode:

https://github.com/wbraswell/rperl/tree/master/lib/RPerl/Test/Operator14BitwiseOrXor

Use the "logical or/xor" and "logical and" operators as reference:

https://github.com/wbraswell/rperl/blob/master/lib/RPerl/Operation/Expression/Operator/Logical/OrXor.pm

https://github.com/wbraswell/rperl/blob/master/lib/RPerl/Operation/Expression/Operator/Logical/And.pm

Use the "getting started" documentation for step-by-step instructions:

https://github.com/wbraswell/rperl/blob/master/docs/devs_getting_started.txt

Also, follow along with the Pull Request Challenge for the "bitwise and" operator:

#96

@wbraswell
Copy link
Owner Author

@Dreuler
Hello Mr. Rishabh Tewari,

Thank you for your interest in the Google Summer of Code, I'm sorry you were unable to complete your official proposal before the deadline, and I am very glad that you are still interested in participating in an unofficial capacity!

I hereby offer you the opportunity to work on this issue as your unofficial Pull Request Challenge, Round 1! :-)

(I'm sure Mr. Shiv Singh @shpsi will not mind if you take one of his numerous RPerl operators.)

Please use this comment thread for all discussions related to this Pull Request Challenge.

@wbraswell
Copy link
Owner Author

@Dreuler
In addition to all of the information I have provided in the main first comment above, please also carefully review this comment regarding upgrades to the Logical And operator, and how to run tests:

#96 (comment)

I may be making similar upgrades to the Logical Or/Xor operator soon, if so I will let you know. Meanwhile, you can use the newly-upgraded Logical And operator as reference.

@wbraswell
Copy link
Owner Author

@faradaym
@edsfocci
This is an open task!

@wbraswell
Copy link
Owner Author

@faradaym
Thank you for joining us during Day 1 of the Cloud Hackathon!
Please do not hesitate to contact me here on GitHub or on IRC if you have any questions about how to implement the Bitwise OrXor operator...

server: irc.perl.org
channel: #perl11
nickname: willthechill

@wbraswell
Copy link
Owner Author

@faradaym
You can now install RPerl using Docker:
$ docker run -it wbraswell/rperl_github

@shpsi
Copy link
Contributor

shpsi commented May 1, 2019

Please @Dreuler @faradaym and @edsfocci . i am picking this for now (if you have already started coding, let me know before end of 2nd May)

@shpsi
Copy link
Contributor

shpsi commented May 1, 2019

4f95e9d

Sorry! I coded this part and will be testing this soon.You guys can pick some other task from @wbraswell .

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

No branches or pull requests

2 participants