This module translates the abstract syntax tree into a curry programm using the AbstractCurry libraries. Errors are thrown for limitations caused by CDBI. The translation is provided as a single line string as required by currypp.
Author: Julia Krone
Version: June 2023
translate
:: PM [Statement] -> Bool -> String -> Pos -> PM String
Invokes the translation of the AST into a string of curry code in case a valid AST is given, does nothing otherwise. |