cx
cx copied to clipboard
cx/utilities.go's PrintProgram() needs to be refactored and improved
@amherag commented on Jan 24
Describe the bug
PrintProgram
the function responsible for printing a CX program's AST needs to be refactored and improved. The whole function can be split into several subroutines, and this will also make it easier to reach an accurate representation of a CX program's AST.
Expected behavior Pretty and accurate ASTs, generated by better designed functions.
Desktop (please complete the following information):
- CX Version [e.g. 0.5.18]