#macro #macro-derive #oo #cowlang-derive

macro cowlang-derive

A simple Python-like scripting language: Macros

1 unstable release

0.1.0 Dec 10, 2024

#221 in #macro-derive

Custom license

10KB
183 lines

 _____________________________________
/ Derive macros for the cow scripting \
\ language                            /
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

This library allows you to easily expose your custom functionality to cowlang. It generates all the glue code for you using procedural macros.

Building

This library depends on

  • proc_macro2
  • cowlang

Usage

See tests for some examples.

Dependencies

~190–620KB
~15K SLoC