feat: publish Dever core with project scaffolding and versioned AI skills

This commit is contained in:
Antigravity committed 2026-10-04 13:37:30 +00:00
1 parent 70fa73cdc2
commit ac458ffa7f
960 files changed
+221319 -1163

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
use dever_core::{check, llvm::emit_kernel, source::SourceMap};
/// Native acceptance always starts with checked source, not hand-written IR.
pub fn lower(source: &str) -> String {
let mut sources = SourceMap::default();
sources.add("main.dever", source);
let program = check(&sources).unwrap_or_else(|errors| {
panic!(
"{}",
errors
.iter()
.map(|error| error.render(&sources))
.collect::<String>()
)
});
emit_kernel(&program, &sources, "main.main").unwrap()
}