Skip to content

Example does not work, Tengo cannot deal with shebang #476

@pepa65

Description

@pepa65

cat hw.tengo:

#!/data/overflow/go/bin/tengo
fmt := import("fmt")
fmt.println("Hello World!")

chmod +x hw.tengo./hw.tengo:

Parse Error: illegal character U+0023 '#'
        at hw.tengo:1:1

(Also go get github.com/d5/tengo/cmd/tengo no longer works to install, it should be go install github.com/d5/tengo/cmd/tengo)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions