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

need simple examples of using QAST inside nqp programs #492

Open
tbrowder opened this issue Jul 30, 2018 · 0 comments
Open

need simple examples of using QAST inside nqp programs #492

tbrowder opened this issue Jul 30, 2018 · 0 comments
Assignees

Comments

@tbrowder
Copy link
Member

Problem

Use of QAST inside nqp code may sometimes be necessary such as in rakudu/src/Perl6/Pod.nqp,
and simple examples are needed for new developers.

Solution

I would like to see simple, runnable nqp programs that:

  • create various QAST blocks defining objects such as a string, a list, and a hash
  • use the QAST objects
  • determine the type of an unknown nqp or QAST object
  • show dumping an nqp object into QAST

Zoffix’s blog is a good reference to work from.

@tbrowder tbrowder self-assigned this Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants