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/test/main.v

22 lines
529 B
Coq
Raw Normal View History

singleton;
link counter;
link window;
async restore {
// process.stdout.write(typeof console._link + '\n');
console.log('~ Welcome to Vogue ~');
// process.stdout.write(JSON.stringify(console, null, 2))
counter ??= create('counter', {});
for(let i = 0; i < 10; i ++)
counter.increment();
2021-05-18 07:56:57 -04:00
// const choice = await console.choice('select a thing', ['a', 'b', 'c', 'd']);
console.log(counter.getCount());
// window ??= create('SDL.window', {});
// window.setScene()
// await counter.render();
2021-05-06 23:05:36 -04:00
}