Skip to content

Commit

Permalink
Update grammar introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
oovm committed Oct 13, 2023
1 parent 3604ee1 commit 8069296
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,18 @@ It is recommended to name the file as `*.rs.djv`.
|----------------:|------------:|
| `<NAME>.rs.djv` | `<NAME>.rs` |
| `<NAME>.djv` | `<NAME>.rs` |
| `mod.djv` | `<NOTHING>` |
| `mod.djv` | `<NOTHING>` |

# WhiteSpace and NewLine Control

| Symbol | Control |
|:-------|:-------------------------------------------|
| `<%` | `<%=` if expression, `<%-` if statement |
| `<%=` | Destroy nothing |
| `<%_` | Destroy `WS`, except `NL` |
| `<%-` | Destroy `WS` and recent `NL` |
| `<%~` | Destroy `WS` and `NL` except farthest `NL` |
| `<%+` | Destroy `WS` and `NL`, all |



0 comments on commit 8069296

Please sign in to comment.