summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--algo/algo.tnsl2
-rw-r--r--box/box.tnsl2
-rw-r--r--crypto/crypto.tnsl2
-rw-r--r--crypto/hash/hash.tnsl2
-rw-r--r--io/io.tnsl2
-rw-r--r--lang/lang.tnsl2
-rw-r--r--libtnsl.tnsl19
-rw-r--r--text/cstr.tnsl2
-rw-r--r--text/text.tnsl2
9 files changed, 17 insertions, 18 deletions
diff --git a/algo/algo.tnsl b/algo/algo.tnsl
index 7c261ae..4bd24f2 100644
--- a/algo/algo.tnsl
+++ b/algo/algo.tnsl
@@ -1,4 +1,4 @@
-/; module algo
+/; export module algo
;/
diff --git a/box/box.tnsl b/box/box.tnsl
index ab934b8..09d5ca8 100644
--- a/box/box.tnsl
+++ b/box/box.tnsl
@@ -1,5 +1,5 @@
-/; module box
+/; export module box
import "list.tnsl"
import "map.tnsl"
import "optional.tnsl"
diff --git a/crypto/crypto.tnsl b/crypto/crypto.tnsl
index f7c0ed9..5e2eeb0 100644
--- a/crypto/crypto.tnsl
+++ b/crypto/crypto.tnsl
@@ -1,5 +1,5 @@
-/; module crypto
+/; export module crypto
import "hash/hash.tnsl"
;/
diff --git a/crypto/hash/hash.tnsl b/crypto/hash/hash.tnsl
index 2c3241a..5aa5760 100644
--- a/crypto/hash/hash.tnsl
+++ b/crypto/hash/hash.tnsl
@@ -1,5 +1,5 @@
-/; module hash
+/; export module hash
import "siphash.tnsl"
;/
diff --git a/io/io.tnsl b/io/io.tnsl
index 3364490..0308714 100644
--- a/io/io.tnsl
+++ b/io/io.tnsl
@@ -1,5 +1,5 @@
-/; module io
+/; export module io
import "file.tnsl"
import "path.tnsl"
;/
diff --git a/lang/lang.tnsl b/lang/lang.tnsl
index b9cc157..d1f3fe0 100644
--- a/lang/lang.tnsl
+++ b/lang/lang.tnsl
@@ -1,4 +1,4 @@
-/; module lang
+/; export module lang
;/
diff --git a/libtnsl.tnsl b/libtnsl.tnsl
index 7995127..216649a 100644
--- a/libtnsl.tnsl
+++ b/libtnsl.tnsl
@@ -1,12 +1,11 @@
-# Base module for libtnsl
-/; module tnsl
- # Wrap c calls for now wrt memory management
- import "internal/c_wrap_linux.tnsl"
+# Base file containing all modules for libtnsl
- # Basic modules
- import "box/box.tnsl"
- import "crypto/crypto.tnsl"
- import "io/io.tnsl"
- import "text/text.tnsl"
-;/
+# Wrap c calls for now wrt memory management
+import "internal/c_wrap_linux.tnsl"
+
+# Basic modules
+import "box/box.tnsl"
+import "crypto/crypto.tnsl"
+import "io/io.tnsl"
+import "text/text.tnsl"
diff --git a/text/cstr.tnsl b/text/cstr.tnsl
index 01e300c..d51d06d 100644
--- a/text/cstr.tnsl
+++ b/text/cstr.tnsl
@@ -1,5 +1,5 @@
-/; module cstr
+/; export module cstr
/; eq (~uint8 a, b) [bool]
/; loop (a` == b` && a` !== 0) [a++; b++] ;/
diff --git a/text/text.tnsl b/text/text.tnsl
index 951e697..6ead22a 100644
--- a/text/text.tnsl
+++ b/text/text.tnsl
@@ -1,5 +1,5 @@
-/; module text
+/; export module text
import "cstr.tnsl"
;/