mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-10-15 16:03:49 -04:00
Add project files.
This commit is contained in:
parent
52916f53b9
commit
2d6a9bb1d2
11 changed files with 863 additions and 0 deletions
24
README.md
Normal file
24
README.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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
|
||||
|
||||
```csharp
|
||||
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](LICENSE) for details.
|
Loading…
Add table
Add a link
Reference in a new issue