https://github.com/harikrishnanbalagopal/starjson
JSON parser for the Starlark language
https://github.com/harikrishnanbalagopal/starjson
json parser starlark
Last synced: 4 months ago
JSON representation
JSON parser for the Starlark language
- Host: GitHub
- URL: https://github.com/harikrishnanbalagopal/starjson
- Owner: HarikrishnanBalagopal
- License: apache-2.0
- Created: 2021-02-20T12:38:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-20T13:46:51.000Z (over 4 years ago)
- Last Synced: 2024-04-16T10:56:06.708Z (over 1 year ago)
- Topics: json, parser, starlark
- Language: Makefile
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSON support for Starlark
## Status
Working json recognizer.
Outputs the indices in the input string where it managed to recognize valid json.## TODO
1. JSON parser
1. JSON marhsaler/encoder
1. Optimizations to improve performance## Prerequisites
1. Starlark interpreter with recursion and set support. (The Go version has support for this. https://github.com/google/starlark-go/#getting-started)
1. make (Optional)## Usage
`make`
Or if you don't have make installed:
`starlark -recursion -set main.star`