[svn:parrot] r43018 - trunk/docs/pdds/draft

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Sat Dec 12 14:59:35 UTC 2009


Author: pmichaud
Date: Sat Dec 12 14:59:34 2009
New Revision: 43018
URL: https://trac.parrot.org/parrot/changeset/43018

Log:
[pdd31]:  Remove PIR_EXAMPLES pod directives from things that aren't examples.
Reported by mikehh++ .

Modified:
   trunk/docs/pdds/draft/pdd31_hll.pod

Modified: trunk/docs/pdds/draft/pdd31_hll.pod
==============================================================================
--- trunk/docs/pdds/draft/pdd31_hll.pod	Sat Dec 12 13:50:40 2009	(r43017)
+++ trunk/docs/pdds/draft/pdd31_hll.pod	Sat Dec 12 14:59:34 2009	(r43018)
@@ -53,12 +53,8 @@
 
 =item C<compile>
 
-=begin PIR_FRAGMENT
-
     $P0 = compiler.'compile'(source [, options :named :slurpy])
 
-=end PIR_FRAGMENT
-
 Return the result of compiling C<source> according to C<options>.
 Common options include:
 
@@ -81,12 +77,8 @@
 
 =item C<eval>
 
-=begin PIR_FRAGMENT
-
     $P0 = compiler.'eval'(source [, options :named :slurpy])
 
-=end PIR_FRAGMENT
-
 Compile and evaluate (execute) the code given by C<source>
 according to C<options>.  The available options are generally
 the same as for the C<compile> method above; in particular,
@@ -95,12 +87,8 @@
 
 =item C<parse_name>
 
-=begin PIR_FRAGMENT
-
     $P0 = compiler.'parse_name'(name)
 
-=end PIR_FRAGMENT
-
 Parse the string C<name> using the rules specific to C<compiler>,
 and return an array of individual name elements.
 
@@ -110,12 +98,8 @@
 
 =item C<load_module>
 
-=begin PIR_FRAGMENT
-
     module = compiler.'load_module'(name)
 
-=end PIR_FRAGMENT
-
 Locate and load the module given by C<name> using the rules for
 libraries specific to C<compiler>, and return a C<module> handle for
 the module just loaded.  The C<name> argument is typically an array
@@ -127,23 +111,15 @@
 
 =item C<get_module>
 
-=begin PIR_FRAGMENT
-
     module = compiler.'get_module'(name)
 
-=end PIR_FRAGMENT
-
 Similar to C<load_module> above, this method returns a handle
 to an already-loaded module given by C<name>.
 
 =item C<get_exports>
 
-=begin PIR_FRAGMENT
-
     $P0 = compiler.'get_exports'(module [,name,name,...] [, 'tagset'=>tagset])
 
-=end PIR_FRAGMENT
-
 Requests the exported objects given by C<name> and/or C<tagset> for
 C<module> within the given C<compiler>.  The C<module> argument
 should be a module handle as obtained by C<load_module> or
@@ -195,12 +171,8 @@
 
 =item C<language>
 
-=begin PIR_FRAGMENT
-
     $S0 = compiler.'language'([name])
 
-=end PIR_FRAGMENT
-
 If C<name> is provided, sets the language name of the invocant
 and registers the invocant as the compiler for C<name> via
 the C<compreg> opcode.
@@ -209,35 +181,23 @@
 
 =item C<parse_name>
 
-=begin PIR_FRAGMENT
-
     $P0 = compiler.'parse_name'(name)
 
-=end PIR_FRAGMENT
-
 Splits a name based on double-colons, such that "C<A::B::C>"
 becomes C<['A','B','C']>.
 
 =item C<get_module>
 
-=begin PIR_FRAGMENT
-
     module = compiler.'get_module'(name)
 
-=end PIR_FRAGMENT
-
 Returns a handle to the HLL namespace associated with C<name>
 (which is processed via the invocant's C<parse_name> method
 if needed).
 
 =item C<load_module>
 
-=begin PIR_FRAGMENT
-
     module = compiler.'load_module'(name)
 
-=end PIR_FRAGMENT
-
 Loads a module C<name> via the C<load_bytecode> opcode
 using both ".pbc" and ".pir" extensions.  Parrot's standard
 library paths for C<load_bytecode> are searched.
@@ -248,12 +208,8 @@
 
 =item C<get_exports>
 
-=begin PIR_FRAGMENT
-
     $P0 = compiler.'get_exports'(module [,name,name,...] [, 'tagset'=>tagset])
 
-=end PIR_FRAGMENT
-
 Implements a simple exporting interface that meets the "Compiler API"
 above.  The C<module> argument is expected to be something that
 supports a hash interface, such as NameSpace or LexPad.  (Note
@@ -285,12 +241,8 @@
 
 =item C<import>
 
-=begin PIR_FRAGMENT
-
     compiler.'import'(target, export_hash)
 
-=end PIR_FRAGMENT
-
 Import the entries from C<export_hash> (typically obtained
 via C<get_exports> above) into C<target> according to the rules
 for C<compiler>.  Any entries in C<export_hash['namespace']>


More information about the parrot-commits mailing list