Thursday, January 10, 2019

Doing symbol table

Getting bugs out, mostly. I never completely debugged the ones I had, just lived with errors, but I ran the limit. So I took one symbol tale, and hammered and repaired it till almost perfect.  I made a discovery with packed character.  If you pack them eight to a word, then complete long comparisons will alphabetize them. Ran into the effect because I was creating random text and writing it into packed char symbols.

Anyway, a good symbol table for everyone to use will be 160 lines of code. Sorting long values in a binary tree seems easy, until the interleaving of new symbols between the old. One ends up with a bit of spaghetti.

I have my version working, not posted. Will hammer it a bit, want it solid before starting a consent snippet.

No comments: