add some dsl examples

This commit is contained in:
2026-04-11 09:28:53 +03:00
parent 3a7e69df9b
commit dacae83dc6
6 changed files with 352 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
// Минимальный рабочий suite на structured DSL.
// Декларируем один toolchain, один build, одну группу с одним тестом.
// С этого можно копипастить для новых задач.
toolchains {
gcc { platforms = "linux" }
}
build "release" {
language = "c"
standard = "c11"
sources = "solution.c"
output = "solution"
profile = release
}
group("basic") {
weight = 1.0
test("hello") {
stdout = "Hello, World!\n"
}
}