[svn:parrot] r48330 - trunk/compilers/pct/src/PAST
coke at svn.parrot.org
coke at svn.parrot.org
Thu Aug 5 13:41:24 UTC 2010
Author: coke
Date: Thu Aug 5 13:41:24 2010
New Revision: 48330
URL: https://trac.parrot.org/parrot/changeset/48330
Log:
add some more pirop signatures for PCT (and by extension, NQP). TT #1728.
Modified:
trunk/compilers/pct/src/PAST/Compiler.pir
Modified: trunk/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Compiler.pir Thu Aug 5 13:06:41 2010 (r48329)
+++ trunk/compilers/pct/src/PAST/Compiler.pir Thu Aug 5 13:41:24 2010 (r48330)
@@ -81,7 +81,11 @@
piropsig['find_codepoint'] = 'Is'
piropsig['find_dynamic_lex'] = 'Ps'
piropsig['find_name'] = 'Ps'
+ piropsig['getinterp'] = 'P'
piropsig['getprop'] = 'P~P'
+ piropsig['getstderr'] = 'P'
+ piropsig['getstdin'] = 'P'
+ piropsig['getstdout'] = 'P'
piropsig['index'] = 'Issi'
piropsig['isa'] = 'IP~'
piropsig['isfalse'] = 'IP'
@@ -92,9 +96,11 @@
piropsig['length'] = 'Is'
piropsig['load_bytecode'] = 'vs'
piropsig['load_language'] = 'vs'
+ piropsig['loadlib'] = 'P~'
piropsig['mod'] = 'PP+'
piropsig['mul'] = 'PP+'
piropsig['neg'] = 'PP'
+ piropsig['new'] = 'P~'
piropsig['newclosure'] = 'PP'
piropsig['not'] = 'PP'
piropsig['ord'] = 'Isi'
@@ -117,7 +123,9 @@
piropsig['split'] = 'Pss'
piropsig['sub'] = 'PP+'
piropsig['substr'] = 'Ssii'
+ piropsig['titlecase'] = 'Ss'
piropsig['trace'] = 'vi'
+ piropsig['typeof'] = 'SP'
piropsig['unshift'] = '0P*'
piropsig['upcase'] = 'Ss'
set_global '%piropsig', piropsig
More information about the parrot-commits
mailing list