v icon indicating copy to clipboard operation
v copied to clipboard

go: preliminary support for builtin functions, various fixes, various tweaks

Open Hunam6 opened this issue 3 years ago • 0 comments

Remaining issues:

  • [ ] package declaration not at the start
module main

fn main() {
	a := 123
	println('hey')
}

generates

func println(s string) {
		fmt.Println(s.str)
	}
package main

func main() {
	  a := 123
	  println("hey")
}

(the package declaration isn't at the top)

  • [ ] add real support for builtin functions

Hunam6 avatar Jul 01 '22 12:07 Hunam6