Skip to content

Commit

Permalink
refactor: Changed the project name to drake
Browse files Browse the repository at this point in the history
  • Loading branch information
watcol committed Jun 12, 2022
1 parent 0239f20 commit a37dab3
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 26 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "walnut"
version = "0.1.0"
description = "The Walnut Configuration Language"
name = "drake"
version = "0.0.1"
description = "The Drake Configuration Language"
authors = ["watcol <[email protected]>"]
repository = "https://github.com/watcol/walnut"
repository = "https://github.com/watcol/drake"
categories = ["parser-implementations", "compilers"]
license = "MIT"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Walnut
Walnut is a simple, programmable, and human-readable, configuration
# Drake
Drake is a simple, programmable, and human-readable, configuration
language.

## Features
Expand All @@ -17,4 +17,4 @@ The language references are available [here](./docs/language.md)
*Comming soon...*

## License
Walnut is licensed under the MIT license. See [LICENSE](./LICENSE).
Drake is licensed under the MIT license. See [LICENSE](./LICENSE).
21 changes: 10 additions & 11 deletions docs/language.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Walnut v0.0.1-pre
# Drake v0.0.1-pre

This book is the reference for the Walnut configuration language, describes
This book is the reference for the Drake Configuration Language, describes
syntax and semantics.

## File Format
- A Walnut file must be encoded in UTF-8.
- A Walnut file is described as an sequence of [statements](#statement), and
- A file must be encoded in UTF-8.
- A file is described as an sequence of [statements](#statement), and
expresses a [table](#table) by [rendering](#terms).
- A Walnut file should use the extension `.wal`.
- The appropriate MIME type for Walnut files is `application/walnut`.
- A file should use the extension `.drake`.
- The appropriate MIME type for drake files is `application/drake`.

### Supported File Types
Walnut files can be transpiled to these file types:
Drake files can be transpiled to these file types:

*Comming soon...*

## Statement
Statement is a base unit of Walnut, categorized into these types:
Statement is a base unit of Drake, categorized into these types:
- [Value Binding](#value-binding)
- [Table Header](#table-header)
- [Function Definition](#function-definition)
Expand Down Expand Up @@ -113,7 +113,7 @@ bar = "baz" # Overwriting a value.
baz = 1 # Appending a value.

# It is useful when overwriting an imported table.
[dependencies] import("dependencies.wal")
[dependencies] import("dependencies.drake")
```

#### Array of Tables
Expand Down Expand Up @@ -541,8 +541,7 @@ key = "foo"
carriage returns or comments.
- "Parenthesis" means left and right of round brackets (`()`), curly brackets
(`{}`), or square brackets (`[]`).
- "Render" means processing and converting the walnut file to other data
notations.
- "Render" means processing and converting the file to other data notations.
## ABNF Grammar
*Comming soon...*

0 comments on commit a37dab3

Please sign in to comment.