You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# GmPro
|
|
|
|
|
|
|
|
|
|
A Gleam parser for ChordPro files
|
|
|
|
|
|
|
|
|
|
(the name is a silly pun on the G minor chord lol)
|
|
|
|
|
|
|
|
|
|
So far it lives inside the [netzpevnik](https://gitea.ledoian.cz/LEdoian/netzpevnik) repository, when it becomes reasonably usable, I will probably move it to a dedicated repository. (Git submodules are not so comfy while developing both projects…)
|
|
|
|
|
|
|
|
|
|
<!-- [](https://hex.pm/packages/gmpro)
|
|
|
|
|
[](https://hexdocs.pm/gmpro/)
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
gleam add gmpro@1
|
|
|
|
|
```
|
|
|
|
|
```gleam
|
|
|
|
|
import gmpro
|
|
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
|
// TODO: An example of the project in use
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
<!-- Further documentation can be found at <https://hexdocs.pm/gmpro>.
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
#gleam run # Run the project – does nothing
|
|
|
|
|
gleam test # Run the tests (TODO: someone write those!)
|
|
|
|
|
gleam run -m gmpro/demo # Run a trivial demo that uses the library
|
|
|
|
|
```
|