A grammar for the dotenv files often used in Ruby, PHP, and JavaScript projects following the Hexagonal Architecture patterns.
Early experimentation; does not actually work.
- Support comments
- Support simple variables (no interpolation)
- Support multiline variables
- Support interpolated variables
- Support interpolated shell commands
- Tests
This grammar is licensed under MIT, so patches (and forks) are welcome!