17 lines
549 B
Text
17 lines
549 B
Text
include 'std/std.fa'
|
|
|
|
--<
|
|
Function bindings for stdlib macros, this
|
|
include does increase the size of the output
|
|
but for the long-run this might be a nicer solution
|
|
so you wouldn't need to expand many macros
|
|
>--
|
|
|
|
fun fputs [ int int str ] eo %fputs end
|
|
fun puts [ str int ] eo %puts end
|
|
fun eputs [ str int ] eo %eputs end
|
|
fun fputc [ int int ] eo %fputc end
|
|
fun putc [ int ] eo %putc end
|
|
fun exit [ int ] eo %exit end
|
|
fun todo [ str int ] eo %todo end
|
|
fun error [ str int ] eo %error end
|