For example in c-lisp we have the code (define ((putchar int) (n int))), we will have to change that (declare ((putchar int) (n int))), (define ((fprint float) (n float) )) to (declare ((fprint float) (n float) )).
Make changes to only those function that do not have any definition associated with them. For example the below code has a definition associated with them. So do not touch it.
(define ((fib int) (n int))
(if (lt n 3)
(ret (sub n 1)))
(ret (add
(call fib (sub n 1))
(call fib (sub n 2)))))
For example in c-lisp we have the code
(define ((putchar int) (n int)))
, we will have to change that(declare ((putchar int) (n int)))
,(define ((fprint float) (n float) ))
to(declare ((fprint float) (n float) ))
.Make changes to only those function that do not have any definition associated with them. For example the below code has a definition associated with them. So do not touch it.