Re: Grammatical Recursion
From: Florian Laws (fl-usenet-2004_at_void.s.bawue.de)
Date: 12/18/04
- Next message: Florian Laws: "Re: Grammatical Recursion"
- Previous message: Rodney: "Re: grockle"
- In reply to: Lee Sau Dan: "Re: Grammatical Recursion"
- Next in thread: Greg Lee: "Re: Grammatical Recursion"
- Reply: Greg Lee: "Re: Grammatical Recursion"
- Messages sorted by: [ date ] [ thread ]
Date: 18 Dec 2004 11:25:37 GMT
On 2004-12-18, Lee Sau Dan <danlee@informatik.uni-freiburg.de> wrote:
>>>>>> "Jacques" == Jacques Guy <jguy@alphalink.com.au> writes:
>
> Jacques> Lee Sau Dan wrote:
> >> Sigh... you confuse iteration with recursion...
>
> Jacques> No I don't. I have made it clear that any recursive
> Jacques> function can be rewritten as an iteration.
>
> If you haven't mixed up the two, then you MUST be wrong. There are
> languages that can be generated by a recursive grammar, but not an
> iterative one.
What is an "iterative grammar"?
Regardless, any algorithm using recursion can be converted in one using
iteration, with the help of using an explicit stack, if necessary.
Regards,
Florian
- Next message: Florian Laws: "Re: Grammatical Recursion"
- Previous message: Rodney: "Re: grockle"
- In reply to: Lee Sau Dan: "Re: Grammatical Recursion"
- Next in thread: Greg Lee: "Re: Grammatical Recursion"
- Reply: Greg Lee: "Re: Grammatical Recursion"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|