Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 13786 invoked by uid 500); 17 Jul 2003 15:05:25 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 13757 invoked from network); 17 Jul 2003 15:05:24 -0000 Received: from vern.chem.tu-berlin.de (130.149.66.116) by daedalus.apache.org with SMTP; 17 Jul 2003 15:05:24 -0000 Received: from vern.chem.tu-berlin.de (localhost [127.0.0.1]) by vern.chem.tu-berlin.de (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id h6HF5OGD013698 for ; Thu, 17 Jul 2003 17:05:25 +0200 Received: from localhost (stephan@localhost) by vern.chem.tu-berlin.de (8.12.3/8.12.3/Submit) with ESMTP id h6HF5OHI013695 for ; Thu, 17 Jul 2003 17:05:24 +0200 X-Authentication-Warning: vern.chem.tu-berlin.de: stephan owned process doing -bs Date: Thu, 17 Jul 2003 17:05:24 +0200 (CEST) From: Stephan Michels X-X-Sender: stephan@vern.chem.tu-berlin.de To: dev@cocoon.apache.org Subject: Re: [Vote] Controller/Sitemap integration In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > > Could someone who resonates with the vision for these other potential > > (non javascript-with-continuations) implementations of flow comment on > > this quickly? If it satisfies you, I have no personal objection. > > Here you have four different states: > > state 0: > x = "bla"; > sendPage("first") > > state 1: > y = "blub"; > sendPage("choice") > > state 2: > y = "yagh"; > sendPage("choice") > > state 3: > sendPage("last") > > And several transitions: > > state 0 -> state 1 if answer = sucess > state 0 -> state 2 otherwise > state 1 -> state 3 > state 2 -> state 3 > > So, here we have a DFA. I little correction, you have at least currently a deterministic push-down automata (DPDA), or in the case of Javascript a turing-complete automaton. So, the current state of execution(continuation?!) involves the stack. Nevertheless, you can apply the continuation concept to a DFA. Stephan.