Skip to content

CoolSchnoodle/pyson-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A C++ pyson implementation

An implementation of the pyson file type (see https://github.com/OmegaGodzilla66/PYSON for the original implementation)

Why use pyson?

Don't. It is a horrible file type. That said, if you need a reasonably compact way to store integer, floating point, string, or string list values, you could technically do worse (it could be JSON).

Why this implementation?

Because it works and is definitely faster than the original Python implementation. And also has a way better and more idiomatic API. And a README that agrees with the code. Maybe I'll even make a way to turn pyson into JSON or TOML or Pkl at some point, who knows.

How do I install it?

You don't.
I have no idea whether it will work on literally any platform, so just do whatever you would with any other C++ library you need to install from source (no idea how people normally do that).

Where is the documentation?

Currently, the documentation is the code comments. Sorry. The one piece of advice that I can give you that is not in the code is that it is completely fine to pass around a PysonFileReader on unix since it is quite small, but on Windows it can be upwards of half a kilobyte, so try not to copy it.

Questions? Doesn't work on your platform? Other issues?

Open a Github issue.

About

A C++ implementation of https://github.com/OmegaGodzilla66/PYSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages