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 to packfile API and remove Eval PMC #937
Conversation
Additionally, add method first_sub_in_const_table() to PackfileView PMC as a stopgap measure until properly tagged subs are generated.
|
What is the status of this? |
|
Status: Dormant, hopefully not dead. It's a two-way breaking change and pmichaud holds the patch pumpkin. The NQP side of things has bitrotten after jnthn did some refactoring in HLL::Compiler. |
|
On Mon, Mar 25, 2013 at 10:30:01AM -0700, Gerhard R. wrote:
Sorry, didn't realize this change was waiting on me. Or if there's an up-to-date Parrot branch with the changes Pm |
|
This PR has been merged with master and pushed as the new-packfile-api branch. Note: I did not test this branch but I wanted to make it available for NQP & Rakudo to test. |
ending whitespace in t/pmc/sub.t superfluous get_packfile_eval_pmc in src/pmc/imccompiler.pmc
This short patch adds two methods to EvalPMC (deprecated) that provides a forward-compatible API for the eventual PackfileView PMC conversion. NQP/Rakudo can then switch to the new API even before PackfileView lands in master, which greatly aids NQP's bootstrapping process. See issue #937.
|
Tonight I created a "pm-packfile-api" branch in the nqp repo that is able to work with the new-packfile-api branch in Parrot. The pm-packfile-api nqp branch is also able to work with Parrot's master branch (using EvalPMC) after commit 07dfdb4. We'll likely merge the pm-packfile-api branch in the next few days, or shortly after Parrot's October release. So, Parrot should be able to switch over to PackfileView at any time without it negatively impacting nqp or rakudo. Pm |
|
Great to see this activity! Just for reference, are we keeping this issue open until pm-packfile-api branch gets merged, or can it be closed now? |
|
I recommend keeping the issue open until the new-packfile-api branch is merged. (The "pm-packfile-api" branch is a nqp branch; it's related to this issue, but shouldn't be considered a blocker for it.) Pm |
|
The pm-packfile-api branch in NQP has been merged to master, so a Parrot switch to PackfileView should be relatively seamless. Pm |
This is a cleaned-up version of #934. Needs to be applied together with the corresponding changes to NQP and Rakudo.