From GPWiki
Why are CHARS_DIGIT and CHARS_ALPHA useful? Aren't isdigit and isalpha quicker to use and faster to run? --pfeilspitze 13:17, 19 September 2006 (EDT)
- I just added them as a visual for what a alpha-character is an what a numeric is, this is related to grouping certain characters together in tokens. Mostly for beginners who miss that minor but important thing. :-) --kimaz 13:27:57, 2006-09-19 (EDT)
- Forgot to mention. This article is not aimed at a specific language. This is to show that you can write it in any language one prefeers. --kimaz 13:31:07, 2006-09-19 (EDT)
- FWIW, I found the mismash of syntaxes rather confusing. Seeing #define made me think C, but then I got classes thrown at me. BTW, you can see my tokenizer @ https://svn.sourceforge.net/svnroot/fuphyl/trunk/interpreter/tokenizer.cpp =) --pfeilspitze 14:41, 19 September 2006 (EDT)
|
|