Artificial intelligent assistant

Determining if a grammar can be converted to LL(1)/LL(k) (This is a cross-post of < in the hopes of gaining a wider audience.) I'd like to know if there is a way to determine if a context-free grammar can be converted to * a LL(1) grammar * a LL(k) grammar, whatever the value of k (so the algorithm should give the value of k) By "can be converted to", I mean that the new (LL) grammar must generate the same language as the old grammar. If it can't be done, I'd appreciate some references. I'm also interested in ways to achieve the same result under more restrictive conditions (for instance only for non-ambiguous context-free grammars).

Copying this answer from @AlextenBrink's comment:

> Try Properties of deterministic top down grammars by D.J. Rosenkrantz and R.E. Stearns. It proves both your problems undecidable in general, and proves the second decidable if your grammar is LR($k'$) for some $k'$.

Sadly, I was not able to find a freely downloadable copy of this paper online. (ACM journal papers are usually licensed for free distribution for scholarly purposes. If a copy comes to light, I will link it here.)

Here is a possibly relevant se.cs thread: Language theoretic comparison of LL and LR grammars

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy d449dceb33d27c08e471c23a569befdc