diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-11-16 01:02:07 -0500 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-11-16 01:02:07 -0500 |
| commit | e7d92e1b0e67e78b1b35f5a2f216a3d64b8d4b43 (patch) | |
| tree | 12cd6e598ec2aa28ec394947a250c27934f1b8c8 | |
| parent | 33c1bca9388f6c5501424bdd91a82b5819337c52 (diff) | |
| -rw-r--r-- | algo/algo.tnsl | 2 | ||||
| -rw-r--r-- | box/box.tnsl | 2 | ||||
| -rw-r--r-- | crypto/crypto.tnsl | 2 | ||||
| -rw-r--r-- | crypto/hash/hash.tnsl | 2 | ||||
| -rw-r--r-- | io/io.tnsl | 2 | ||||
| -rw-r--r-- | lang/lang.tnsl | 2 | ||||
| -rw-r--r-- | libtnsl.tnsl | 19 | ||||
| -rw-r--r-- | text/cstr.tnsl | 2 | ||||
| -rw-r--r-- | text/text.tnsl | 2 |
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" ;/ @@ -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" ;/ |