Better SDLang

solidstate1991 laszloszeremi at outlook.com
Mon Jul 22 17:25:37 UTC 2024


Since I have a lot of formats created for the SDLang format and I 
have yet to see a format that would be a good replacement for its 
place (especially for my own usecases), I was thinking on writing 
my own parser with a better API (allowing for keeping the 
comments at their place, etc.), cleaned up type support (reducing 
the number of integer types to one, maybe even the floating point 
numbers too), more formatting options (like hexadecimal numbers) 
etc. I will also try to look into some automatic serialization 
methods.

I'm currently in the process of doing some research on what kind 
of gripe people have with the current SDLang implementation, both 
API and and textual representation level. Then I'll design a 
class structure for the parsers (Yes, I'll also create a more 
SAX-like parser too in conjunction of the DOM parser).


More information about the Digitalmars-d mailing list