cx icon indicating copy to clipboard operation
cx copied to clipboard

cx/utilities.go's PrintProgram() needs to be refactored and improved

Open vidya88 opened this issue 5 years ago • 0 comments

@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]

vidya88 avatar Sep 24 '19 05:09 vidya88