aboutsummaryrefslogtreecommitdiff
path: root/tests/main.amal
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-18 23:47:45 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit2323ca6c9ec3c8ee76b9acf13745b80b92952a6a (patch)
tree93013237dbcb0fa96ceb5f3c026fd040aff464cf /tests/main.amal
parent5a93c32a59775cd1be4b4f450e8230016b434366 (diff)
Add struct, import caching, binop ops etc
Diffstat (limited to 'tests/main.amal')
-rw-r--r--tests/main.amal8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/main.amal b/tests/main.amal
index ba6247b..d085501 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -1,5 +1,10 @@
const io = @import("io.amal");
+const User = struct {
+ name: str;
+ age: i32;
+}
+
const main = fn {
var hello = fn {
@@ -14,8 +19,9 @@ const main = fn {
/*
episfjpseifipesf
*/
+ //io.puts("lole");
}
const print = fn {
-}
+} \ No newline at end of file