From 415f75c275c991949ef7c9d2c62d07e8eba761b5 Mon Sep 17 00:00:00 2001 From: Xander Date: Tue, 4 Jul 2023 13:26:09 +0200 Subject: Overloading print + cleanup --- kernel/main.dats | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'kernel/main.dats') diff --git a/kernel/main.dats b/kernel/main.dats index bbd201a..0a325ff 100644 --- a/kernel/main.dats +++ b/kernel/main.dats @@ -1,10 +1,6 @@ -#include "share/atspre_staload.hats" - -staload "kernel/writer.sats" -dynload "kernel/writer.dats" +#include "kernel/kernel_prelude.hats" implement main0 () = ( - clear_screen(); - put_string("Hello world\n"); - put_string("GOEIENDSG\n"); - put_string("GOEIENDSG")) + println!("Hello World"); + println!("Hello World"); +) -- cgit v1.2.3