va_toolbox ~testing

A collection of debugging and helper code


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

VA Toolbox

A collection of sources for debugging, data analysis.

Background

Over the years you write a lot of code. And most amazingly, we write a lot of code over and over again.

On the next level you start to copy files around. This is dedious, error-prone.

So it is time to move all this little helpers to some common place, and publish them together as a dub module. So instead of rewriting, copying and modifying your code, just add it as dependency.

Audio

Some game here. I hacked some code related to audio, and check if the code can execute in CTFE mode.

How to compile?

You can use:

dub build
dub test -- -v

Visual Studio Code (VSC) can be used, because it has a cool D plugin and supports source level debugging.

Contents of this toolbox

[x] = well matured, good coverage [+] = needs more examples [ ] = open

  • [x] Image: Simple code to write BMP files
  • [+] Audio: Precompute audio waveforms or data during compilation to reduce runtime processing and ensure consistency.
  • [+] Compile-Time Regular Expression Engine: Match patterns against strings at compile time, useful for validating or transforming strings.
  • [+] Compile-Time Code Generation: Generate specialized functions or classes based on compile-time parameters, such as serialization code. -> Hashed Enums
  • [ ] Compile-Time Parsing and Code Generation from Text Files: Parse custom configuration or markup languages at compile time to generate corresponding code or data structures.
Authors:
  • Carsten Schlote
Dependencies:
silly
Versions:
0.4.0 2024-Nov-17
0.3.5 2024-Oct-21
0.3.4 2024-Oct-18
0.3.3 2024-Oct-17
0.3.2 2024-Oct-17
Show all 19 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 7 downloads total

Score:
0.6
Short URL:
va_toolbox.dub.pm