google / grumpy

Grumpy is a Python to Go source code transcompiler and runtime.
Apache License 2.0
10.54k stars 648 forks source link

expected 'IDENT', found 'INT' 7 #391

Closed owenkealey closed 4 years ago

owenkealey commented 6 years ago

Hello,

Whenever I use this tool, it transpiles without error, but then when I try to run the Go file it produces, I am hit with this error

owenkealey commented 6 years ago

changing the package from 7 to main also doesnt help as that results in the following error:

runtime.main_main·f: relocation target main.main not defined runtime.main_main·f: undefined: "main.main"

alanjds commented 6 years ago

Can you provide the program you are trying to transpile+compile+run ? Including the file name.