#macro #part #language #invariants #macro-rules #guard #eiffel

eiffel-macros

Eiffel is a library for Eiffel language inspired guard clauses with Rust macros. This is the macro rules part of the library.

4 releases

0.0.4 Feb 28, 2024
0.0.3 Feb 28, 2024
0.0.2 Feb 28, 2024
0.0.1 Feb 28, 2024

#1855 in Rust patterns


Used in eiffel

MIT license

6KB
52 lines

This crate is part of the eiffel crate.


lib.rs:

Submodule for Eiffel Inspired Invariant Checking Macros

This submodule is part of a larger crate that provides features inspired by the Eiffel programming language's invariant checking. These features include checks for loops, entry, exit, and more.

This submodule specifically provides the standard macros, as the main crate cannot mix standard macros with procedural macros due to Cargo's restrictions.

The Eiffel language's options for invariant checking serve as the basis for the design and functionality of the macros in this submodule.

Please note that this submodule, like the main crate, is still a work in progress. As such, some features may not be fully implemented or may undergo significant changes in future updates.

Contributions and feedback are always welcome.

Dependencies

~245–700KB
~16K SLoC