musique/README.md

37 lines
1.0 KiB
Markdown
Raw Normal View History

2022-04-24 15:27:09 +02:00
# Musique interpreter
2022-04-24 16:13:02 +02:00
Reference implementation of Musique programming language.
2023-01-14 23:11:32 +01:00
## Building
2022-05-08 18:20:44 +02:00
2023-01-14 23:11:32 +01:00
Reference [`build_instructions.md`](./build_instructions.md).
2022-05-08 18:20:44 +02:00
2023-01-14 23:11:32 +01:00
## Syntax highlighting
2022-05-22 15:53:39 +02:00
### Vim / Neovim
2023-01-14 23:11:32 +01:00
Copy [editor/musique.vim](editor/musique.vim) to `syntax` directory inside your Vim (Neovim) configuration.
2022-05-22 15:53:39 +02:00
```console
$ cp editor/musique.vim ~/.config/nvim/syntax/
2022-05-22 15:53:39 +02:00
```
2023-01-14 23:11:32 +01:00
Next, you can add bindings for filetype:
2022-05-22 15:53:39 +02:00
```vim
au BufRead,BufNewFile *.mq set filetype=musique
```
2022-05-24 14:13:38 +02:00
### Visual Studio Code
2023-01-14 23:11:32 +01:00
Copy [editor/vscode-musique](editor/vscode-musique) directory to `<user home>/.vscode/extensions` and restart VS Code.
2022-09-18 16:52:44 +02:00
# Thanks to
- Creator of [tl::expected](https://github.com/TartanLlama/expected) - [Sy Brand](https://sybrand.ink/)
- Creator of [bestline](https://github.com/jart/bestline) - [Justine Tunney](https://justinetunney.com/)
- Creator of [rtmidi](https://github.com/thestk/rtmidi/) - [Gary P. Scavone](http://www.music.mcgill.ca/~gary/)
2023-01-10 06:43:54 +01:00
- Creators of [link](https://github.com/Ableton/link)
and all contributors that created libraries above.