Dec-19-2019, 11:16 PM
i have read that many things cannot handle cyclic references. i have not done that in my PYON code. i do intend to add some code to detect such cycles and avoid them, but i have not worked out ways to represent and reconstruct cycles.
that does look like a different way of defining types that is not inherintly JSON strung out inside JSON. so i would not call it JSON. it's not Python, either. it can't be fully utilized in either JavaScript or Python without something to decode it. OTOH, PYON is fully Python (except for cycles), leaving it up to other languages to develop their own tools for it, if it becomes popular enough. my implementation is still not done. i need to add a few things after i redo it all as a generator or coroutine. then dump output would just wrap around the generator.
that does look like a different way of defining types that is not inherintly JSON strung out inside JSON. so i would not call it JSON. it's not Python, either. it can't be fully utilized in either JavaScript or Python without something to decode it. OTOH, PYON is fully Python (except for cycles), leaving it up to other languages to develop their own tools for it, if it becomes popular enough. my implementation is still not done. i need to add a few things after i redo it all as a generator or coroutine. then dump output would just wrap around the generator.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.