Skip to content

gnolang/gnoffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gnoffee

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.

Features

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.

How Gnoffee Works

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.

Future Changes

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.

Releases

No releases published

Packages

No packages published