From 1f28c3c733ea3ae4234bff91e1c55e61b1ee3e96 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 31 Jul 2019 01:25:05 +0200 Subject: Starting on asm, implementing extern function call so progress is visible --- tests/bytecode.amal | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'tests/bytecode.amal') diff --git a/tests/bytecode.amal b/tests/bytecode.amal index c5b2cb3..3484b21 100644 --- a/tests/bytecode.amal +++ b/tests/bytecode.amal @@ -1,12 +1,14 @@ extern const printf: fn; -const print = fn { - -} - const main = fn { var value = 23; value = 34; + const value2: i64 = 23; + const value3 = 2 + 5 - 1 * 10 / 2; const str_value = "hello, world"; - print(); + printf(); +} + +const print = fn { + } \ No newline at end of file -- cgit v1.2.3