〜限り(は)
As long as…machine translation
FormationVerb dictionary form / ている-form / ない-form + 限り(は); noun + である限り
〜限り(かぎり)sets the SCOPE of validity: as long as condition A holds, B holds. 日本にいる限り、勉強を続けたい (as long as I'm in Japan, I want to keep studying). The implication: if A goes away, B may change too.
The negative form 〜ない限り means "unless…": 練習しない限り、上手にはならない (unless you practice, you won't get better). This way of saying "if not…, then definitely not…" is much loved in written Japanese.
The variant 〜限りでは limits the scope of the speaker's KNOWLEDGE and goes with 知っている・見た・聞いた: 私が知っている限りでは (as far as I know…). Compared with うちに — a pattern that also says "while still…" — 限り stresses the logical condition "while A holds, B holds," whereas うちに stresses seizing the chance to do something before the state ends.
Examples
日本にいる限り、日本語の勉強を続けたいです。
As long as I'm in Japan, I want to continue studying Japanese.
練習しない限り、上手にはなりません。
Unless you practice, you won't get better.
私が知っている限りでは、彼はまだ独身です。
As far as I know, he's still single.