Better SDLang

drug007 drug2004 at bk.ru
Mon Jul 22 17:48:33 UTC 2024


On 22.07.2024 20:25, solidstate1991 wrote:
> 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).

[Offtopic] What do you think about https://kdl.dev?
```
The language is based on SDLang, with a number of modifications and 
clarifications on its syntax and behavior.
```
There is no D implementation for it between


More information about the Digitalmars-d mailing list