This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
vogue/readme.md

1.8 KiB

Travis (.com) Codecov FOSSA Status npm bundle size NPM

Vogue is a programming language that leverages javascript to create no-config graph systems.

Getting Started

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.

NPM Integration

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());
}

Persistence

Vogue systems automagically persist their data, unless otherwise specified. This data is stored inside the .system directory.

Documentation

For the full spec of vogue module syntax, see: syntax.

To see some common examples and programming patterns, see examples.

License

FOSSA Status