DCG Syntax
Open
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I really want DCGs to be easy to write *and easy to read*. This example fails the 2nd condition:
```yaml
[story]
- "Once upon a time there was a"
- [Subject]
- "who was very hungry."
```
Wouldn't it be better to write:
```yaml
[story] {
"Once upon a time there was a" [Subject] "who was very hungry."
}
```
I guess this is solved by text template literals:
```yaml
[story]
"Once upon a time there was a [[Subject]] who was very hungry."
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.