.NET Parser for The Sims Online's CST format.
Find a file
2020-12-08 17:56:38 -05:00
.github/workflows Add project files. 2020-12-08 17:56:38 -05:00
CSTNet Add project files. 2020-12-08 17:56:38 -05:00
CSTNet.Tests Add project files. 2020-12-08 17:56:38 -05:00
.editorconfig Add project files. 2020-12-08 17:56:38 -05:00
.gitattributes Add .gitignore and .gitattributes. 2020-12-08 17:56:36 -05:00
.gitignore Add project files. 2020-12-08 17:56:38 -05:00
CSTNet.sln Add project files. 2020-12-08 17:56:38 -05:00
CSTNet.sln.licenseheader Add project files. 2020-12-08 17:56:38 -05:00
LICENSE Add project files. 2020-12-08 17:56:38 -05:00
README.md Add project files. 2020-12-08 17:56:38 -05:00

CST.NET

Caret-Separated Text (or CST) is a key-value pair format represented by numbers or words as keys and the value is the string enclosed between carets (^) that contains the contents. CST.NET is a library for prasing the CST format.

Example

using System;
using System.IO;
using CSTNet;

var file = File.ReadAllText("example.cst");
var example = CaretSeparatedText.Parse(file, 1);

Console.WriteLine(example);

To-do

  • Support for arguments

License

I license this project under the MIT license - see LICENSE for details.