Vogue is a programming language that leverages javascript to create no-config graph systems.
To create a vogue system, create a vogue module file in a new folder:
example/main.v
singleton;
restore {
console.log('Hellow Vogue!');
}
then run your system with vogue example
.
your vogue system folder may have a package.json
and a node_modules
folder. If they do, you can import javascript modules into your vogue module.
example
|-- package.json
|-- main.v
`-- node_modules
`-- package
|-- package.json
`-- index.js
singleton;
import package from 'package';
restore {
console.log(package.foo());
}
Vogue systems automagically persist their data, unless otherwise specified. This data is stored inside the .system
directory.
For the full spec of vogue module syntax, see: syntax.
To see some common examples and programming patterns, see examples.