Documentation ¶
Overview ¶
Package transpiler implements a source-to-source compiler for translating Gno code into Go code.
Index ¶
Constants ¶
View Source
const ImportPrefix = "github.com/gnolang/gno"
ImportPrefix is the import path to the root of the gno repository, which should be used to create go import paths.
Variables ¶
This section is empty.
Functions ¶
func PackageDirLocation ¶
PackageDirLocation provides the supposed directory of the package, relative to the root dir.
TODO(morgan): move out, this should go in a "resolver" package.
func TranspileImportPath ¶
TranspileImportPath takes an import path s, and converts it into the full import path relative to the Gno repository.
func TranspiledFilenameAndTags ¶
TranspiledFilenameAndTags returns the filename and tags for transpiled files.
Types ¶
Click to show internal directories.
Click to hide internal directories.