|parrotcode: JSON backend for PIRC|
|Contents | Compilers|
jsonout.c - JSON backend for PIRC
Each vtable method is implemented by a private (static) function. This back-end emits a JSON representation of the source. Although JSON is quite a simple format, it is not very trivial to emit it. Due to some householding code, it isn't very straightforward (indention and commas). Some refactoring would be in order, once this back-end is finished.