fa/std/lstd.fa
Ari Archer ecba9f73d4
Add cat example and eputs macro + function
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-19 11:11:44 +03:00

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