Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're interested in the actual details of the implementation of the syntax table, I had a great exchange on the 6502.org forum a couple of years back.

http://forum.6502.org/viewtopic.php?p=17736

There is a (relatively easier to understand) stack-based expression evaluator, with hooks to allow for operator precedence. The interesting part is the scanner, which converts each line of BASIC into the tokens used by the evaluator. This is the bit that has the "syntax table diagram".

You may also find this article by Woz on the Apple][ from the '77 BYTE magazine a pretty interesting read.

http://www.downloads.reactivemicro.com/Public/Users/Grant_St...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: