GaryHilares / GaryHilares/GSS-Language

Add a GSS writer feature

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Description
In an application, we probably will not just be reading data, but also writing it. There are workarounds to programmatically create GSS files, but they may not be very easy to implement and error prone. Therefore it would be a good feature to create a writer included in the GSS library which is able to create GSS files easily and programatically.

## Example
```c++
#include
#include

int main()
{
GSS::Writer out("properties.gss");
out.insertClass("button");
out["button"].insertProperty("Height",50);
out["button"].insertProperty("Color","#ff0000");
out.save(); // This may be necessary or not depending in the inplementation.
}
```

Contributor guide

Open the contributing guide

Research direction

The issue names GSS/Writer.hpp and the GSS::Writer API, but no existing implementation files or tests. Start by reviewing the current GSS library and its reader or parser interfaces to understand the file format. Done means a writer can support the shown class and property operations and create a valid GSS file, including save behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.