Compare commits

..
3 Commits
8 changed files with 79 additions and 2 deletions
+1
View File
@@ -1 +1,2 @@
/target /target
.direnv
+7
View File
@@ -0,0 +1,7 @@
# Interface Language
## How to use
```bash
cat ./path/to/.sil | cargo run
```
Generated
+64
View File
@@ -0,0 +1,64 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": [
"systems"
]
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1737885589,
"narHash": "sha256-Zf0hSrtzaM1DEz8//+Xs51k/wdSajticVrATqDrfQjg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "852ff1d9e153d8875a83602e03fdef8a63f0ecf8",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"systems": "systems"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}
+5
View File
@@ -212,6 +212,10 @@ impl Iterator for Tokenizer {
} }
} }
}, },
State::InText => match c {
'"' => todo!(),
_ => todo!(),
},
State::InQuote => match c { State::InQuote => match c {
'"' => todo!(), '"' => todo!(),
_ => todo!(), _ => todo!(),
@@ -232,6 +236,7 @@ enum State {
Behavior, Behavior,
BehaviorSeparator, BehaviorSeparator,
InText,
InQuote, InQuote,
InDoubleQuote, InDoubleQuote,
} }
View File
View File
View File