Raku / nqp

NQP
Other
339 stars 131 forks source link

Implement the nqp::print node #445

Closed pmurias closed 6 years ago

pmurias commented 6 years ago

The nqp::say node (NQPSayNode class) can be used as inspiration

tisonkun commented 6 years ago

Sorry but where is the NQPSayNode?

pmurias commented 6 years ago

The truffle backend (which I'll get back to work on soonish) is in the truffle branch .

On Mon, May 28, 2018, 15:45 陈梓立 notifications@github.com wrote:

Sorry but where is the NQPSayNode?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/perl6/nqp/issues/445#issuecomment-392531150, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGXphrHxY-lqg31C5AKUx0a9GXQad_6ks5t2_-QgaJpZM4UGGet .

tisonkun commented 6 years ago

@pmurias sure I did it at ee3df8e2de0668a8b06fb19f216a9d9e076efe35

I noticed GraalVM some days ago, and will be glad to help push this branch.

However, I do not understand how truffle framework works. You see, I can imitate your implementation, but don't know things underneath. I will appreciate it if you give a brief talk about how truffle works. And as I understand, we convert source code to QAST then JAST then bc in nqp-j, how we tweak the process to truffle.

pmurias commented 6 years ago

Thank you, just noticed your commit, it's encouraging that other people are interested in it too. Sorry for not noticing it earlier.

I added some links to how truffle works in the README: ae931c06107dc838de0a9306b508364215c425e5