aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-06-06 13:05:54 +0100
committergingerBill <bill@gingerbill.org>2021-06-06 13:05:54 +0100
commit661fcad895c5bfec307a3405e5dade46f4ced701 (patch)
tree437531d6050340fd6a17d807221a63abca7f884b /examples
parentcef16feb0b08b238862b6a50d9346d23e4ed243f (diff)
Add `examples/all` which imports every package
This is useful for knowing what exists and producing documentation with `odin doc`
Diffstat (limited to 'examples')
-rw-r--r--examples/all/all_main.odin58
1 files changed, 58 insertions, 0 deletions
diff --git a/examples/all/all_main.odin b/examples/all/all_main.odin
new file mode 100644
index 000000000..75c6d5fb7
--- /dev/null
+++ b/examples/all/all_main.odin
@@ -0,0 +1,58 @@
+package all
+
+// Imports every package
+// This is useful for knowing what exists and producing documentation with `odin doc`
+
+import "core:bufio"
+import "core:bytes"
+import "core:c"
+import c_tokenizer "core:c/frontend/tokenizer"
+import c_preprocessor "core:c/frontend/preprocessor"
+import "core:compress"
+import "core:compress/gzip"
+import "core:compress/zlib"
+import "core:container"
+import "core:dynlib"
+import "core:encoding"
+import "core:encoding/base32"
+import "core:encoding/base64"
+import "core:encoding/cel"
+import "core:encoding/csv"
+import "core:encoding/json"
+import "core:fmt"
+import "core:hash"
+import "core:image"
+import "core:image/png"
+import "core:io"
+import "core:log"
+import "core:math"
+import "core:math/bits"
+import "core:math/fixed"
+import "core:math/linalg"
+import "core:math/rand"
+import "core:mem"
+import "core:odin/ast"
+import doc_format "core:odin/doc-format"
+import "core:odin/format"
+import "core:odin/parser"
+import "core:odin/printer"
+import odin_tokenizer "core:odin/tokenizer"
+import "core:os"
+import "core:path"
+import "core:path/filepath"
+import "core:reflect"
+import "core:runtime"
+import "core:slice"
+import "core:sort"
+import "core:strconv"
+import "core:strings"
+import "core:sync"
+import "core:sync/sync2"
+import "core:text/scanner"
+import "core:thread"
+import "core:time"
+import "core:unicode"
+import "core:unicode/utf8"
+import "core:unicode/utf16"
+
+main :: proc(){}