tensr_proc_macros

Crates.iotensr_proc_macros
lib.rstensr_proc_macros
version0.1.0
sourcesrc
created_at2024-08-29 22:14:48.699226
updated_at2024-08-29 22:14:48.699226
descriptionProcedural macros for the Tensr multidimensional array library
homepagehttps://github.com/Pencilcaseman/tensr
repositoryhttps://github.com/Pencilcaseman/tensr
max_upload_size
id1357084
size23,516
Toby Davis (Pencilcaseman)

documentation

https://docs.rs/tensr_proc_macros

README

Tensr Procedural Macros

This crate contains procedural macros for the Tensr multidimensional array library.

Unfortunately, due to Rust's orphan rules, it is not possible to implement lazy evaluation concisely with traits. As a result, a fair amount of code duplication is required to get the required functionality.

Luckily, the duplicated code is pretty simple and can be auto-generated quite easily. Rust also seems to compile the code very quickly, so this is not a problem.

Commit count: 0

cargo fmt