Sometimes.. when i look through older Code i somedays wrote before.. im smilin while shakein my head simulanously.
That Lexer was initially intended to be just a small addition - enough to learn some basics. ... Often enough i wonder what finally came out.
Yes. that surreal std-c stuff has its benefits in speed and portability.. but doin a complete rewrite , oo,class based , would have been much easier.
But thats me.. in the End. Once i have my Teeth somwhere deep within stuff.. its hard for me to let go. Because i really hate givin up.:)
Time teached me to at least - calm down a bit, "regenerate" and ome back later with some new ideas. .. or at least.. some fixes.
Happend to be that morning around one oCLock. (while wachtchin TimmyTrumpet on Youtube) Oh-- i was really happy i took the tome to write some inline hints.. woooh.. So.. the lexer does now understand bash style var notation, can (finally, but with a common refcount) happilie correctly handle combinations of (unclosed) strings and brakets within multiline continuations plus some sanity checks here and there.
Now i do think its "presentable" ... but also.. that i dont feel quite "born" for c/cpp coding...
Another area that recieved work was to cleanup the luaLib repository. Implemented all needed stuff for a succesful lua5.3 built and "hacked" further through the Installer, which i talked about in the previous post... Ok...then. Reallife, Summe, Sun-- -- your next :)
Happy Spring -- Thorsten.