vig/README.md

30 lines
611 B
Markdown
Raw Normal View History

2019-08-26 16:43:07 +00:00
# vig
2019-08-24 19:31:13 +00:00
2019-08-26 16:43:07 +00:00
a [v] parser in zig
[v]: https://vlang.io
(will likely be done as a full compiler, who knows, leave a like and subscribe
for more epic adventures)
2019-08-24 19:31:13 +00:00
## why
2019-08-26 16:43:07 +00:00
because i want to learn parsers and what best to do it with a language i'm
negatively charged towards
2019-08-24 19:31:13 +00:00
2019-08-25 19:49:08 +00:00
## variations
- `for` is split between `for` and `loop` because my fucking god i cant stand
having *four* different variations of `for`.
2019-08-26 14:59:32 +00:00
- struct initialization is with `Struct.{}`, not `Struct{}`, to remove parsing
ambiguities
2019-08-24 19:31:13 +00:00
## how
```
2019-08-26 16:43:07 +00:00
git clone https://gitdab.com/luna/vig.git
cd vig
2019-08-24 19:31:13 +00:00
zig build install --prefix ~/.local/
```