Skip to content

Support BASIC string with percent sign (%) #6

@udhos

Description

@udhos

This BASIC code:

echo '10 print "%"' | basgo-build > a.go && go run a.go

Produces this invalid Go code:

fmt.Print(`%!`(MISSING))

It is possible to work-around this defect by escaping % with %%:

echo '10 print "%%"' | basgo-build > a.go && go run a.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions