Create translator stub
This commit is contained in:
parent
291aad8aad
commit
3a9855fe88
11
translator/translator.go
Normal file
11
translator/translator.go
Normal file
@ -0,0 +1,11 @@
|
||||
package translator
|
||||
|
||||
import "git.tebibyte.media/arf/arf/analyzer"
|
||||
|
||||
// Translate takes in a path to a module and an io.Writer, and outputs the
|
||||
// corresponding C through the writer. The C code will import nothing and
|
||||
// function as a standalone translation unit.
|
||||
func Translate (modulePath string, output io.Writer) (err error) {
|
||||
// TODO
|
||||
return
|
||||
}
|
Reference in New Issue
Block a user