rperl
rperl copied to clipboard
Implement Operator, Bitwise OrXor CPPOPS_CPPTYPES
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:
https://github.com/wbraswell/rperl/issues/96
@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.
@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:
https://github.com/wbraswell/rperl/issues/96#issuecomment-482896899
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.
@faradaym @edsfocci This is an open task!
@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
@faradaym
You can now install RPerl using Docker:
$ docker run -it wbraswell/rperl_github
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)
https://github.com/wbraswell/rperl/pull/99/commits/4f95e9dc78e2693bf6bf06adc16b2e586a5c7f93
Sorry! I coded this part and will be testing this soon.You guys can pick some other task from @wbraswell .