CordyJ / Open-TuringPlus

Open Turing+ programming language compiler
Other
8 stars 2 forks source link

put doesn't support boolean output #12

Closed dnewhall closed 4 months ago

dnewhall commented 4 months ago

I find it odd that Turing+ doesn't support the output of booleans.

All of these refuse to compile with an Illegal 'put' or 'get' item error message:

put "Found index? ", idx < MAX_SIZE
var b : boolean := false; put b
put true
CordyJ commented 4 months ago

Yes, that's true, the Turing language does not allow output of Booleans.