[svn:parrot-pdd] r22465 - in trunk: . compilers/json compilers/json/JSON compilers/past-pm/POST compilers/pct/src compilers/pct/src/POST compilers/pge/PGE compilers/pirc/src compilers/tge/TGE docs doc

Author: tewk
Date: Wed Oct 24 17:11:20 2007
New Revision: 22465

Modified:
   trunk/docs/pdds/pdd23_exceptions.pod

Changes in other areas also in this revision:
Added:
   trunk/t/op/exceptions.t
Modified:
   trunk/DEPRECATED.pod
   trunk/compilers/json/JSON/pge2pir.tg
   trunk/compilers/json/postalcodes.pir
   trunk/compilers/past-pm/POST/Grammar.tg
   trunk/compilers/pct/src/HLLCompiler.pir
   trunk/compilers/pct/src/POST/Grammar.tg
   trunk/compilers/pge/PGE/Exp.pir
   trunk/compilers/pirc/src/pirutil.c
   trunk/compilers/tge/TGE/Compiler.pir
   trunk/docs/compiler_faq.pod
   trunk/editor/pir-mode.el
   trunk/languages/APL/src/parse2past.tg
   trunk/languages/PIR/docs/PROPOSALS
   trunk/languages/PIR/lib/pasm_core.pg
   trunk/languages/PIR/lib/pasm_instr.pg
   trunk/languages/WMLScript/src/wmlsstdlibs.pir
   trunk/languages/cardinal/src/OSTGrammar.tg
   trunk/languages/dotnet/doc/constructs/exceptions.pod
   trunk/languages/dotnet/src/translator.pir
   trunk/languages/forth/forth.pir
   trunk/languages/forth/test.pir
   trunk/languages/lisp/internals.pir
   trunk/languages/lisp/system.pir
   trunk/languages/lua/lib/lfs.pir
   trunk/languages/perl6/perl6.pir
   trunk/languages/pheme/lib/PhemeSymbols.pir
   trunk/languages/pheme/pheme.pir
   trunk/languages/tcl/runtime/builtin/append.pir
   trunk/languages/tcl/runtime/builtin/catch.pir
   trunk/languages/tcl/runtime/builtin/dict.pir
   trunk/languages/tcl/runtime/builtin/file.pir
   trunk/languages/tcl/runtime/builtin/foreach.pir
   trunk/languages/tcl/runtime/builtin/info.pir
   trunk/languages/tcl/runtime/builtin/inline.pir
   trunk/languages/tcl/runtime/builtin/lappend.pir
   trunk/languages/tcl/runtime/builtin/lindex.pir
   trunk/languages/tcl/runtime/builtin/namespace.pir
   trunk/languages/tcl/runtime/builtin/proc.pir
   trunk/languages/tcl/runtime/builtin/scan.pir
   trunk/languages/tcl/runtime/builtin/source.pir
   trunk/languages/tcl/runtime/builtin/string.pir
   trunk/languages/tcl/runtime/builtin/uplevel.pir
   trunk/languages/tcl/runtime/builtin/vwait.pir
   trunk/languages/tcl/runtime/conversions.pir
   trunk/languages/tcl/runtime/hacks.pir
   trunk/languages/tcl/runtime/string_to_list.pir
   trunk/languages/tcl/runtime/tcllib.pir
   trunk/languages/tcl/runtime/variables.pir
   trunk/languages/tcl/src/builtin/expr.pir
   trunk/languages/tcl/src/builtin/for.tmt
   trunk/languages/tcl/src/builtin/while.tmt
   trunk/languages/tcl/src/grammar/expr/functions.pir
   trunk/languages/tcl/src/grammar/expr/operators.pir
   trunk/languages/tcl/src/grammar/expr/past2pir.tg
   trunk/languages/tcl/src/macros.pir
   trunk/languages/tcl/src/tclsh.pir
   trunk/languages/tcl/t/internals/select_option.t
   trunk/languages/tcl/t/internals/select_switches.t
   trunk/lib/Parrot/PIR/Formatter.pm
   trunk/runtime/parrot/library/Iter.pir
   trunk/runtime/parrot/library/PGE/P6Grammar.pir
   trunk/runtime/parrot/library/PGE/Perl6Grammar.pir
   trunk/runtime/parrot/library/Parrot/HLLCompiler.pir
   trunk/src/ops/core.ops
   trunk/src/ops/ops.num
   trunk/t/compilers/pge/p5regex/p5rx.t
   trunk/t/compilers/pge/p6regex/01-regex.t
   trunk/t/compilers/pge/perl6regex/01-regex.t
   trunk/t/library/coroutine.t
   trunk/t/library/iter.t
   trunk/t/library/pg.t
   trunk/t/library/range.t
   trunk/t/oo/composition.t
   trunk/t/oo/ops.t
   trunk/t/op/cmp-nonbranch.t
   trunk/t/op/gc.t
   trunk/t/op/sprintf.t
   trunk/t/pmc/bigint.t
   trunk/t/pmc/class.t
   trunk/t/pmc/complex.t
   trunk/t/pmc/exception.t
   trunk/t/pmc/exporter.t
   trunk/t/pmc/float.t
   trunk/t/pmc/io_status.t
   trunk/t/pmc/object.t
   trunk/t/pmc/parrotio.t
   trunk/t/pmc/pmcproxy.t
   trunk/t/pmc/resizablestringarray.t
   trunk/t/pmc/super.t

Log:
[exceptions]  Adds pop_eh and push_eh_p
  ** MAKE REALCLEAN REQUIRED DUE TO NEW OPS **


Modified: trunk/docs/pdds/pdd23_exceptions.pod
==============================================================================
--- trunk/docs/pdds/pdd23_exceptions.pod	(original)
+++ trunk/docs/pdds/pdd23_exceptions.pod	Wed Oct 24 17:11:20 2007
@@ -54,16 +54,18 @@
 exception (i.e. the call stack is I<not> unwound first).  See below for more
 detail.
 
-If a I<LABEL> is provided, Parrot creates and pushes a continuation that
+If a I<LABEL> or is provided, Parrot creates and pushes a continuation that
 resumes execution at I<LABEL> if invoked, which has the effect of
 unconditionally handling all errors, and unwinding the stack to that label.
 
+If a I<INVOCABLE_PMC> is provided, Parrot pushes the pmc which will execute
+if invoked, which has the effect of unconditionally handling all errors,
+replacing the stack with that execution context of the invocable pmc.
+
 =item B<pop_eh>
 
 Pop the most recently pushed exception handler off the exception handler stack.
 
-{{ TODO: Provide exception handler stack introspection. }}
-
 =item B<throw I<EXCEPTION>>
 
 Throw an exception consisting of the given I<EXCEPTION> PMC.  Active exception
@@ -131,6 +133,28 @@
 
 =back
 
+=head2 Exception Introspection Opcodes
+{{ TODO: Provide exception handler stack introspection. }}
+
+These are the opcodes relevant to introspection of the exception handler stack:
+
+=over
+
+=item B<count_eh>
+
+Return the quantity of currently active exception handlers.
+
+=item B<get_eh I<index>>
+
+Return the exception handler at I<index>
+
+=item B<get_all_eh>
+
+Return a resizable pmc array of all current exception handlers.
+
+=back
+
+
 =head2 Order of Operations in Exception Handling
 
 When B<throw> or B<throwcc> is called, for all active exception
0
tewk
10/25/2007 12:11:21 AM
perl.perl6.internals 7376 articles. 0 followers. Follow

1 Replies
559 Views

Similar Articles

[PageSpeed] 26

tewk@cvs.perl.org wrote:
> Author: tewk
> Date: Wed Oct 24 17:11:20 2007
> New Revision: 22465
> 

tewk:  Could you see if something in this commit led to the breakage 
described in http://rt.perl.org/rt3/Ticket/Display.html?id=46869?

I've resolved 3 of the 4 test failures described there but haven't yet 
diagnosed the 4th.

This is otherwise a very impressive chunk of work.  Thank you very much.

kid51
0
jkeen
10/26/2007 1:59:46 AM
Reply:

Similar Artilces:

[svn:parrot-pdd] r22180
Author: allison Date: Wed Oct 17 12:33:17 2007 New Revision: 22180 Modified: trunk/docs/pdds/pdd15_objects.pod trunk/docs/pdds/pdd17_pmc.pod Changes in other areas also in this revision: Added: trunk/include/parrot/oo.h - copied unchanged from r22176, /branches/pdd15oo/include/parrot/oo.h trunk/include/parrot/oo_private.h - copied unchanged from r22176, /branches/pdd15oo/include/parrot/oo_private.h trunk/src/oo.c - copied unchanged from r22176, /branches/pdd15oo/src/oo.c trunk/t/oo/isa.t - copied unchanged from r22176, /branches/pdd1...

[svn:parrot-pdd] r13503
Author: ambs Date: Mon Jul 24 08:26:45 2006 New Revision: 13503 Modified: trunk/docs/pdds/clip/pdd22_io.pod (contents, props changed) trunk/docs/pdds/clip/pdd24_events.pod (contents, props changed) trunk/docs/pdds/clip/pdd25_threads.pod (contents, props changed) trunk/docs/pdds/pdd23_exceptions.pod (props changed) Changes in other areas also in this revision: Modified: trunk/cage/todo.pod (props changed) trunk/compilers/bcg/src/pmc/bcg.pmc (props changed) trunk/compilers/imcc/imcc.y (props changed) trunk/compilers/imcc/parser.h (props ch...

[svn:parrot-pdd] r31668
Author: allison Date: Sun Oct 5 04:30:01 2008 New Revision: 31668 Modified: trunk/docs/pdds/pdd27_multiple_dispatch.pod Changes in other areas also in this revision: Added: trunk/docs/multidispatch.pod - copied unchanged from r31667, /branches/pdd27mmd/docs/multidispatch.pod trunk/include/parrot/multidispatch.h - copied unchanged from r31667, /branches/pdd27mmd/include/parrot/multidispatch.h trunk/lib/Parrot/Pmc2c/MULTI.pm - copied unchanged from r31667, /branches/pdd27mmd/lib/Parrot/Pmc2c/MULTI.pm trunk/src/multidispatch.c - copied unc...

[svn:parrot-pdd] r31223
Author: tene Date: Thu Sep 18 01:47:46 2008 New Revision: 31223 Modified: trunk/docs/pdds/pdd19_pir.pod trunk/docs/pdds/pdd23_exceptions.pod Changes in other areas also in this revision: Modified: trunk/compilers/bcg/t/BCG.t trunk/compilers/pct/src/PAST/Compiler.pir trunk/compilers/pct/src/PCT/HLLCompiler.pir trunk/docs/compiler_faq.pod trunk/languages/APL/src/parser/actions.pm trunk/languages/WMLScript/src/wmlsstdlibs.pir trunk/languages/WMLScript/wmls2pbc.pir trunk/languages/WMLScript/wmls2pir.pir trunk/languages/WMLScript/wmlsd.pir tr...

[svn:parrot-pdd] r31218
Author: tene Date: Wed Sep 17 20:34:19 2008 New Revision: 31218 Modified: trunk/docs/pdds/pdd19_pir.pod trunk/docs/pdds/pdd23_exceptions.pod Changes in other areas also in this revision: Modified: trunk/compilers/bcg/t/BCG.t trunk/compilers/pct/src/PAST/Compiler.pir trunk/compilers/pct/src/PCT/HLLCompiler.pir trunk/languages/APL/src/parser/actions.pm trunk/languages/WMLScript/src/wmlsstdlibs.pir trunk/languages/WMLScript/wmls2pbc.pir trunk/languages/WMLScript/wmls2pir.pir trunk/languages/WMLScript/wmlsd.pir trunk/languages/WMLScript/wmlsi.pi...

[svn:parrot-pdd] r31294
Author: tene Date: Sun Sep 21 01:47:14 2008 New Revision: 31294 Modified: trunk/docs/pdds/pdd19_pir.pod Changes in other areas also in this revision: Modified: trunk/compilers/bcg/t/BCG.t trunk/compilers/pct/src/PAST/Compiler.pir trunk/compilers/pct/src/PCT/HLLCompiler.pir trunk/languages/APL/src/parser/actions.pm trunk/languages/WMLScript/src/wmlsstdlibs.pir trunk/languages/WMLScript/wmls2pbc.pir trunk/languages/WMLScript/wmls2pir.pir trunk/languages/WMLScript/wmlsd.pir trunk/languages/WMLScript/wmlsi.pir trunk/languages/dotnet/build/transl...

[svn:parrot-pdd] r29952
Author: allison Date: Sat Aug 2 15:45:13 2008 New Revision: 29952 Modified: trunk/docs/pdds/draft/pdd08_keys.pod trunk/docs/pdds/pdd17_pmc.pod trunk/docs/pdds/pdd23_exceptions.pod Changes in other areas also in this revision: Added: trunk/src/pmc/exceptionhandler.pmc - copied unchanged from r29949, /branches/pdd25cx/src/pmc/exceptionhandler.pmc Removed: trunk/src/pmc/exception_handler.pmc Modified: trunk/MANIFEST trunk/compilers/bcg/src/pmc/bcg.pmc trunk/compilers/imcc/imcc.l trunk/compilers/imcc/imcc.y trunk/compilers/imcc/imclexer.c ...

[svn:parrot-pdd] r32407
Author: coke Date: Thu Nov 6 14:41:14 2008 New Revision: 32407 Modified: trunk/docs/pdds/pdd19_pir.pod Changes in other areas also in this revision: Modified: trunk/DEPRECATED.pod trunk/compilers/imcc/imcc.y trunk/compilers/imcc/imcparser.c trunk/compilers/pct/src/POST/Compiler.pir trunk/docs/art/pp003-oop.pod trunk/docs/book/ch04_pir_subroutines.pod trunk/docs/book/ch05_pasm.pod trunk/t/compilers/imcc/syn/objects.t Log: RT #48549 [DEPRECATED] [PDD19] .namespace requires brackets Force .namespace to require brackets instead of allowing a bare ...

[svn:parrot-pdd] r32941
Author: coke Date: Thu Nov 20 08:20:24 2008 New Revision: 32941 Modified: trunk/docs/pdds/pdd19_pir.pod Changes in other areas also in this revision: Modified: trunk/DEPRECATED.pod trunk/compilers/imcc/imcc.l trunk/compilers/imcc/imcc.y trunk/compilers/imcc/imclexer.c trunk/compilers/imcc/imcparser.c trunk/compilers/imcc/pbc.c trunk/compilers/imcc/unit.h trunk/compilers/pct/src/POST/Compiler.pir trunk/compilers/pct/src/POST/Node.pir trunk/editor/pir-mode.el trunk/editor/pir_vim.in trunk/include/parrot/sub.h trunk/languages/perl6/...

[svn:parrot-pdd] r34905
Author: jkeenan Date: Sat Jan 3 16:22:40 2009 New Revision: 34905 Modified: trunk/docs/pdds/draft/pdd06_pasm.pod Changes in other areas also in this revision: Added: trunk/compilers/pirc/src/ - copied from r34904, /trunk/compilers/pirc/new/ Removed: trunk/compilers/pirc/new/ Modified: trunk/MANIFEST trunk/compilers/pirc/README.pod trunk/compilers/pirc/src/hdocprep.c trunk/compilers/pirc/src/pirlexer.c trunk/compilers/pirc/src/pirlexer.h trunk/compilers/pirc/src/pirsymbol.c trunk/config/gen/makefiles/pirc.in trunk/lib/Parrot/Distrib...

[svn:parrot-pdd] r19792
Author: particle Date: Wed Jul 11 13:49:04 2007 New Revision: 19792 Modified: trunk/docs/pdds/pdd23_exceptions.pod Changes in other areas also in this revision: Modified: trunk/compilers/imcc/imclexer.c trunk/compilers/imcc/instructions.c trunk/compilers/imcc/main.c trunk/compilers/imcc/parser_util.c trunk/compilers/pirc/src/jsonout.c trunk/compilers/pirc/src/pastout.c trunk/compilers/pirc/src/pirlexer.c trunk/compilers/pirc/src/pirmain.c trunk/compilers/pirc/src/pirout.c trunk/compilers/pirc/src/pirparser.c trunk/compilers/pirc/src/piru...

[svn:parrot-pdd] r26309
Author: allison Date: Tue Mar 11 02:50:21 2008 New Revision: 26309 Modified: trunk/docs/pdds/draft/pdd04_datatypes.pod trunk/docs/pdds/pdd17_pmc.pod Changes in other areas also in this revision: Added: trunk/lib/Parrot/Pmc2c/Attribute.pm - copied unchanged from r26307, /branches/pdd17pmc/lib/Parrot/Pmc2c/Attribute.pm trunk/tools/dev/vtablize.pl - copied unchanged from r26307, /branches/pdd17pmc/tools/dev/vtablize.pl Modified: trunk/MANIFEST trunk/compilers/bcg/src/pmc/bcg.pmc trunk/compilers/imcc/pbc.c trunk/config/auto/pmc.pm trunk/c...

[svn:parrot-pdd] r18563
Author: chromatic Date: Tue May 15 17:53:55 2007 New Revision: 18563 Modified: trunk/docs/pdds/draft/pdd04_datatypes.pod trunk/docs/pdds/draft/pdd05_opfunc.pod trunk/docs/pdds/draft/pdd06_pasm.pod trunk/docs/pdds/draft/pdd11_extending.pod trunk/docs/pdds/draft/pdd16_native_call.pod trunk/docs/pdds/draft/pdd24_events.pod trunk/docs/pdds/draft/pdd25_concurrency.pod trunk/docs/pdds/draft/pddXX_pmc.pod trunk/docs/pdds/pdd07_codingstd.pod trunk/docs/pdds/pdd21_namespaces.pod trunk/docs/pdds/pdd22_io.pod trunk/docs/pdds/pdd23_exceptions.pod Cha...

to compile or not to compile ?
Hi I've been dabbling with  .net but am now trying to bite the bullet and learn it moving from classic asp I am a bit confused as to wether it is 'standard' practise to 'build' your project into dll's and upload these to the server or wether to simply use script and upload as you would classic asp to the server. what is 'standard' practise is there an advantage or disadvantage to using script / compiling thanks What is "Standard" depends a bit upon the tool you are using. For VS.NET 2003, compiling into a dll placed in the bin folder is the default behavior.  Othe...

Web resources about - [svn:parrot-pdd] r22465 - in trunk: . compilers/json compilers/json/JSON compilers/past-pm/POST compilers/pct/src compilers/pct/src/POST compilers/pge/PGE compilers/pirc/src compilers/tge/TGE docs doc - perl.perl6.internals

Resources last updated: 12/9/2015 3:09:32 PM