Note:
After experimenting with this in the wild, I have found representing keywords as symbols to be far less readable in large codebases. Additionally, simply adding indentation to the language decreases readability due to the fact that almost everything is an expression.
I will not be adding anything to this specification.
analog
analog
is an analogous, indented syntax for the Rust programming language.
= ^door_open [false; 100]
|pass| 1..101
= ^door pass
|?| ^door <= 100
^door_open[^door - 1] !^door_open[^door - 1]
^door += pass
|i &is_open| ^door_open.iter().enumerate(
println!!
"Door {} is {}.",
(i + 1),
?? is_open "open" !! "closed"
Documentation
To learn about the syntax, consult the documentation.
The symbology provides a comprehensive overview of symbolic keywords.
Contributing
This is free and unencumbered software released into the public domain, as are all contributions.