blob: 0d408a4be37211ae0067536c92068c430be54203 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
use divina::Divina;
#[tokio::main]
async fn main() {
// Preliminary pokes
divina::setup();
let mut divina = Divina::new();
// Store 'Divina.lua' configuration
divina.new_config().configure_config();
// Create a new compiler
divina.configure_compiler(divina_compile::Compiler::new());
// Handle CLI
divina.perform();
}
|