Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alhankeser/lkml-parser
A faster LookML parser
https://github.com/alhankeser/lkml-parser
looker lookml zig ziglang
Last synced: 16 days ago
JSON representation
A faster LookML parser
- Host: GitHub
- URL: https://github.com/alhankeser/lkml-parser
- Owner: alhankeser
- License: mit
- Created: 2024-08-09T06:00:18.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T23:37:22.000Z (3 months ago)
- Last Synced: 2024-10-15T19:40:55.221Z (2 months ago)
- Topics: looker, lookml, zig, ziglang
- Language: Zig
- Homepage: https://alhan.co/g/zig-lookml-parser
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# An adequately-built, fast LookML parser
Created without knowledge of parsers or the language its written in, this parser has only one goal: be faster than lkml.
[Read More](https://alhan.co/g/zig-lookml-parser)
## Usage
Assuming you have Zig installed, build the zig executable:
```bash
zig build-exe main.zig -O ReleaseFast
```Use it inside of Python:
```python
import json
import subprocessview_as_json = subprocess.check_output(["./main", "customer.view.lkml"]).decode('utf-8')
view_as_dict = json.loads(view_as_json)
```## What's missing today
- Testing
- Edge case handling
- Parametrization
- Advanced features
- Ability to handle files other than view files