Skip to content

judah-caruso/base.jai

Repository files navigation

Base

   My personal library for Jai. For the most part,
   each module can be copy-pasted into your project
   without having to pull in the entire library.


Modules

   - allocators.jai (Custom allocators)
   - array.jai (Utilities for dynamic arrays.)
   - base64.jai (Simple base64 encoder/decoder)
   - bitset.jai (Simple Odin-like bitset)
   - color-print.jai (Colored console output)
   - compile-time.jai (Compile-time utilities)
   - fixed-update.jai (Locked timestep update loop)
   - iterators.jai (Iterator interface map, filter, collect utilities)
   - lexer.jai (General purpose lexing)
   - maybe.jai (Rust-like optional type)
   - static-array.jai (Fixed-size array that feels like [..]T)
   - tween.jai (Immediate mode tweening)
   - ticker.jai (A tick-based event system)
   - testing.jai (Compile-time testing)
   - utilities.jai (Helpful utilities)
   - union.jai (Tagged unions with auto generated tags)


Notes

   - To run the internal testing suite: 'jai _run_all_tests.jai'
   - To verify modules work standalone: 'jai _ensure_standalone.jai'
   - To generate this README file: 'jai _generate_readme.jai'


Installation

   Copy files as needed or clone the entire repo:
      #import,file "[name].jai";      // Use a single module
      #import,file "base/module.jai"; // Use the entire library


License - Unlicense (Public Domain)
    See LICENSE for full notice

About

My personal library for Jai (mirror)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published