Gnoffee is a proof-of-concept transpiler that extends the Go language with additional, custom keywords. These keywords aim to offer enhanced functionality, making Go programming even more efficient and expressive.
Disclaimer: Please note that Gnoffee is currently a proof-of-concept. It's not guaranteed to evolve into a fully-fledged project. Use it at your own discretion.
Gnoffee currently supports the following keyword and transformation:
export <structName> as <interfaceName>
: This allows for the automatic generation of top-level functions in the package that call methods on a specific instance of the struct. It's a way to "expose" or "proxy" methods of a struct via free functions.
Gnoffee operates in multiple stages. The first stage transforms gnoffee-specific keywords into their comment directive equivalents, paving the way for the second stage to handle the transpiling logic.
As the Go and Gno ecosystems and requirements evolve, Gnoffee might see the introduction of new keywords or alterations to its current functionality. Always refer to the package documentation for the most up-to-date details.