cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject Re: [Vote] Controller/Sitemap integration
Date Thu, 17 Jul 2003 15:05:24 GMT


> > 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.


Mime
View raw message