eignnx / eignnx/rellog

DCG Syntax

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.