[Parrot-users] questions for a new interpreter in using Parrot

roy north roynorthyork at yahoo.com
Tue Jan 13 23:13:17 UTC 2015


Hi,
I am new to Parrot, and have some questions on the new language interpreter. I have read the doc and able to create the new language shell.I understand that the grammar.pm and actions.pm are the files to be implemented.
1) the language I want interpret has build-in command: cmd, for the interpreter I want it parsed/mapped to one of call in my own perl 5 modules, like "my_cmd_api", how is it fit in the generated interpreter shell?
2) if above not feasible, is it possible to map/parse the cmd to one function call, in that function I will rewrite my perl 5 code? Is it implemented in runtime.pm? Any example show how it achieved? 

Thanks,Roy 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.parrot.org/pipermail/parrot-users/attachments/20150113/98365008/attachment.html>


More information about the Parrot-users mailing list