Author: chromatic Date: Thu Aug 30 14:25:32 2007 New Revision: 20926 Modified: trunk/docs/pdds/draft/pdd16_native_call.pod trunk/docs/pdds/draft/pdd17_pmc.pod trunk/docs/pdds/pdd03_calling_conventions.pod trunk/docs/pdds/pdd21_namespaces.pod trunk/docs/pdds/pdd22_io.pod
Changes in other areas also in this revision: Modified: trunk/docs/art/pp002-pmc.pod trunk/docs/art/pp003-oop.pod trunk/docs/book/ch03_pir_basics.pod trunk/docs/book/ch05_pasm.pod trunk/docs/compiler_faq.pod trunk/docs/dev/jit_i386.pod trunk/docs/imcc/calling_conventions.pod trunk/docs/pmc/subs.pod trunk/docs/stm/stm_frontend.pod trunk/examples/benchmarks/addit.pasm trunk/examples/benchmarks/addit.pir trunk/examples/benchmarks/addit2.pir trunk/examples/benchmarks/arriter.pir trunk/examples/benchmarks/arriter_o1.pir trunk/examples/benchmarks/bench_newp.pasm trunk/examples/benchmarks/freeze.pasm trunk/examples/benchmarks/mops.pasm trunk/examples/benchmarks/oo1.pasm trunk/examples/benchmarks/oo2.pasm trunk/examples/benchmarks/oo3.pasm trunk/examples/benchmarks/oo4.pasm trunk/examples/benchmarks/oo5.pir trunk/examples/benchmarks/oo6.pir trunk/examples/benchmarks/oofib.pir trunk/examples/benchmarks/primes.pasm trunk/examples/benchmarks/primes2.pasm trunk/examples/benchmarks/shared_ref.pasm trunk/examples/benchmarks/stress.pasm trunk/examples/benchmarks/stress1.pasm trunk/examples/benchmarks/stress2.pasm trunk/examples/benchmarks/stress3.pasm trunk/examples/io/async_select.pir trunk/examples/io/httpd.pir trunk/examples/japh/japh8.pasm trunk/examples/library/ncurses_life.pir trunk/examples/namespace/namespace_dump.pir trunk/examples/nci/ls.pir trunk/examples/pasm/nanoforth.pasm trunk/examples/pasm/nanoforth2.pasm trunk/examples/past/01-sub.pir trunk/examples/pir/hanoi.pir trunk/examples/pir/levenshtein.pir trunk/examples/pir/queens_r.pir trunk/examples/pir/quine_ord.pir trunk/examples/pir/sudoku.pir trunk/examples/sdl/bounce_parrot_logo.pir trunk/examples/sdl/lcd/clock.pir trunk/examples/sdl/mandel.pir trunk/examples/sdl/minesweeper/field.pir trunk/examples/sdl/minesweeper/mines.pir trunk/examples/sdl/move_parrot_logo.pir trunk/examples/sdl/tetris/app.pir trunk/examples/sdl/tetris/block.pir trunk/examples/sdl/tetris/blockdata.pir trunk/examples/sdl/tetris/blocks.pir trunk/examples/sdl/tetris/board.pir trunk/examples/sdl/tetris/boarddata.pir trunk/examples/sdl/tetris/eventhandler.pir trunk/examples/shootout/ack.pir trunk/examples/shootout/binarytrees.pir trunk/examples/shootout/fannkuch.pir trunk/examples/shootout/fasta.pir trunk/examples/shootout/harmonic.pir trunk/examples/shootout/knucleotide.pir trunk/examples/shootout/nbody.pir trunk/examples/shootout/nsieve-bits-2.pir trunk/examples/shootout/nsieve-bits.pir trunk/examples/shootout/nsieve.pir trunk/examples/shootout/partialsums-2.pir trunk/examples/shootout/partialsums.pir trunk/examples/shootout/pidigits.pir trunk/examples/shootout/random.pasm trunk/examples/shootout/random.pir trunk/examples/shootout/recursive-2.pir trunk/examples/shootout/recursive.pir trunk/examples/shootout/regexdna.pir trunk/examples/shootout/revcomp.pir trunk/examples/shootout/spectralnorm.pir trunk/examples/shootout/takfp.pir trunk/examples/tge/branch/branch.g trunk/examples/tge/branch/transform.pir trunk/src/dynpmc/ext.pir trunk/src/dynpmc/main.pasm trunk/src/list.c trunk/src/ops/pmc.ops trunk/src/pmc/timer.pmc trunk/t/compilers/imcc/syn/clash.t trunk/t/compilers/imcc/syn/keyed.t trunk/t/dynpmc/foo.t trunk/t/library/dumper.t trunk/t/library/sort.t trunk/t/pdd15oo/calling.t trunk/t/pdd15oo/mmd.t trunk/t/pdd15oo/object-meths.t trunk/t/pdd15oo/objects.t trunk/t/pmc/addrregistry.t trunk/t/pmc/array.t trunk/t/pmc/boolean.t trunk/t/pmc/bound_nci.t trunk/t/pmc/closure.t trunk/t/pmc/compiler.t trunk/t/pmc/coroutine.t trunk/t/pmc/enumerate.t trunk/t/pmc/env.t trunk/t/pmc/exception_handler.t trunk/t/pmc/fixedbooleanarray.t trunk/t/pmc/fixedfloatarray.t trunk/t/pmc/fixedintegerarray.t trunk/t/pmc/fixedstringarray.t trunk/t/pmc/float.t trunk/t/pmc/intlist.t trunk/t/pmc/io.t trunk/t/pmc/key.t trunk/t/pmc/lexpad.t trunk/t/pmc/managedstruct.t trunk/t/pmc/multiarray.t trunk/t/pmc/null.t trunk/t/pmc/object.t trunk/t/pmc/orderedhash.t trunk/t/pmc/parrotclass.t trunk/t/pmc/parrotlibrary.t trunk/t/pmc/parrotrunningthread.t trunk/t/pmc/parrotthread.t trunk/t/pmc/pmc.t trunk/t/pmc/pointer.t trunk/t/pmc/prop.t trunk/t/pmc/random.t trunk/t/pmc/ref.t trunk/t/pmc/resizablebooleanarray.t trunk/t/pmc/resizablefloatarray.t trunk/t/pmc/resizableintegerarray.t trunk/t/pmc/retcontinuation.t trunk/t/pmc/sarray.t trunk/t/pmc/sharedref.t trunk/t/pmc/stmlog.t trunk/t/pmc/stmref.t trunk/t/pmc/stmvar.t trunk/t/pmc/timer.t trunk/t/pmc/tqueue.t trunk/t/pmc/undef.t trunk/t/pmc/unmanagedstruct.t trunk/t/pmc/version.t trunk/t/pmc/vtablecache.t trunk/t/stress/gc.t Log: [OO] Changed more PMC creation from constant syntax to string style. Modified: trunk/docs/pdds/draft/pdd16_native_call.pod ============================================================================== --- trunk/docs/pdds/draft/pdd16_native_call.pod (original) +++ trunk/docs/pdds/draft/pdd16_native_call.pod Thu Aug 30 14:25:32 2007 @@ -257,7 +257,7 @@ .local pmc sub, userdata sub = get_global "foo_callback" # get the sub to act as a callback sub - userdata = new .Integer # set up some userdata + userdata = new 'Integer' # set up some userdata userdata = 42 .local pmc callback_sub Modified: trunk/docs/pdds/draft/pdd17_pmc.pod ============================================================================== --- trunk/docs/pdds/draft/pdd17_pmc.pod (original) +++ trunk/docs/pdds/draft/pdd17_pmc.pod Thu Aug 30 14:25:32 2007 @@ -1407,7 +1407,7 @@ For example, to retrieve the current value of TERM (the terminal type on most Unix systems): - new P1, .Env + new P1, 'Env' set S1, P1['TERM'] Note that an embedding system may override this behavior. Modified: trunk/docs/pdds/pdd03_calling_conventions.pod ============================================================================== --- trunk/docs/pdds/pdd03_calling_conventions.pod (original) +++ trunk/docs/pdds/pdd03_calling_conventions.pod Thu Aug 30 14:25:32 2007 @@ -297,17 +297,17 @@ =item * When the target is a P register and the source is an integer, the P will be -set to a new .Integer[1] which has been C<assign>ed the given integer. +set to a new Integer[1] which has been C<assign>ed the given integer. =item * When the target is a P register and the source is a number, the P will be set -to a new .Float[1] which has been C<assign>ed the given number. +to a new Float[1] which has been C<assign>ed the given number. =item * When the target is a P register and the source is a string, the P will be set -to a new .String[1] which has been C<assign>ed the given string. +to a new String[1] which has been C<assign>ed the given string. =back Modified: trunk/docs/pdds/pdd21_namespaces.pod ============================================================================== --- trunk/docs/pdds/pdd21_namespaces.pod (original) +++ trunk/docs/pdds/pdd21_namespaces.pod Thu Aug 30 14:25:32 2007 @@ -600,7 +600,7 @@ .local pmc tcl .local pmc ns tcl = compreg "tcl" - ns = new .Array + ns = new 'Array' ns = 2 ns[0] = "Some" ns[1] = "Module" Modified: trunk/docs/pdds/pdd22_io.pod ============================================================================== --- trunk/docs/pdds/pdd22_io.pod (original) +++ trunk/docs/pdds/pdd22_io.pod Thu Aug 30 14:25:32 2007 @@ -330,7 +330,7 @@ =item new - new $P0, .Iterator, $P1 + new $P0, 'Iterator', $P1 Create a new iterator object $P0 from I/O object $P1.