devalang 0.2.0

Write music with code. Devalang is a domain-specific language (DSL) for sound designers and music hackers. Compose, automate, and control sound — in plain text.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# =================
# Module System
# =================
# You can import modules using the import directive.
# You can export variables from a module using the export directive.
# You can also use the use directive to load plugins.
#
# Import Syntax:
# `import { <variableName> } from "<path/to/module>"`
#
# Export Syntax:
# `export { <variableName> }`
#
# Use/Plugin Syntax:
# `use <author>.<plugin> as <alias>`

import { myImportedVar } from "./my_module.deva"
export { myExportedVar }