basgo
basgo copied to clipboard
basgo compiles BASIC-lang to Golang. Then 'go build' can translate code to native executable binary.
- [x] LINE - [x] PSET - [x] PRESET - [ ] CIRCLE - [ ] POINT(x,y) http://www.antonis.de/qbebooks/gwbasman/point.html - [ ] PRINT (output normal text) - [ ] PALETTE
This example: echo '10 print "`"' | basgo-build > a.go && go run a.go Produces invalid Go code: fmt.Print(```)
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...
`SCREEN 0` enables terminal features for the command `LOCATE`. This `LOCATE` will NOT work: ``` 20 locate 10,10: ? "test" 30 ?:while i$="":?"hit ENTER to exit":i$=input$(1):?i$:wend ``` This `LOCATE` will...