Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openvicproject/lexy-vdf
VDF parser using Lexy
https://github.com/openvicproject/lexy-vdf
keyvalue parser steam valve vdf
Last synced: about 1 month ago
JSON representation
VDF parser using Lexy
- Host: GitHub
- URL: https://github.com/openvicproject/lexy-vdf
- Owner: OpenVicProject
- License: mit
- Created: 2023-09-11T20:50:18.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-10T19:26:30.000Z (6 months ago)
- Last Synced: 2024-07-10T23:15:55.967Z (6 months ago)
- Topics: keyvalue, parser, steam, valve, vdf
- Language: C++
- Homepage:
- Size: 57.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lexy-vdf
Repo for the lexy-vdf, a [VDF](https://developer.valvesoftware.com/wiki/KeyValues) parser implemented using [lexy](https://lexy.foonathan.net/)## Example Usage
See [main.cpp](src/headless/main.cpp)## Required
* [scons](https://scons.org/)## Build Instructions
1. Install [scons](https://scons.org/) for your system.
2. Run the command `git submodule update --init --recursive` to retrieve all related submodules.
3. Run `scons build_lvdf_library=yes` in the project root, you should see a liblexy-vdf file in `bin`.## Link Instructions
1. Call `lvdf_env = SConscript("lexy-vdf/SConstruct")`
2. Use the values stored in the `lvdf_env.lexy_vdf` to link and compile against:| Variable Name | Description | Correlated ENV variable |
| --- | --- | --- |
| `LIBPATH` | Library path list | `env["LIBPATH"]` |
| `LIBS` | Library files names in the library paths | `env["LIBS"]` |
| `INCPATH` | Library include files | `env["CPPPATH"]` |