bsdz / matrixy

Automatically exported from code.google.com/p/matrixy
0 stars 0 forks source link

Add inline PIR capability #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Name of feature: Inline PIR

Description of new behavior: We already have the pir() builtin function.
Consider also adding in a facility to write inline PIR. I've kicked around
the idea of adding new _PIRSTART_ and _PIREND_ keywords for this. This
would enable us to move most of our library functions from src/builtins/*
(which I think should be reserved for internal-only routines) to lib/*
where they belong.

Models to follow: Rakudo has a pir quote type that allows inlined PIR.
Perl5 has a robust system of inlining code from other languages.

Components to modify: parser only.

Original issue reported on code.google.com by wknight8...@gmail.com on 3 Mar 2009 at 7:18

GoogleCodeExporter commented 9 years ago

Original comment by wknight8...@gmail.com on 3 Mar 2009 at 8:21