3 ms·
can you "stream" conform ? for UI live input so that "john mcallister" yields { :name "john" :lastname "mcallister" } but "john " would yield { :name "john" :l
by agumonkey 6y ago
can you "stream" conform ? for UI live input
so that "john mcallister" yields { :name "john" :lastname "mcallister" } but "john " would yield { :name "john" :lastname nil } (or :todo even)
- didibus 6y agoYou could call it on every input change, though I'd say Spec conforming is not the most performant parsing library in the world, so not sure if it be fast enough for running it on each input.
- agumonkey 6y agoyeah that's why I was looking for a lazy / stream variant in case it wasn't already possible /me goes to prolog