Has anyone written a guide on creating BASIC?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Has anyone written a guide on creating BASIC?
Speaking of unary minuses, in Thoroughbred BASIC, one cannot write PRINT 4 * -1, as it will generate a syntax error. However, PRINT 4 * (-1) will successfully evaluate, as will PRINT -1 * 4. Evidently, the grammar parser chokes if two operator tokens are in succession.
x86? We ain't got no x86. We don't NEED no stinking x86!