Add multilingual Agila learning examples and Git practice guide

This commit is contained in:
Agila University committed 2026-11-01 14:08:37 +08:00
commit 85f487afb0
79 files changed
+813

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# A lifecycle lab with expected failures
Build a small application and a set of isolated lifecycle experiments. Explain which errors the SDK detects and what your application does next.
- Show a normal create/start/request/stop sequence.
- Test empty id and empty name independently.
- Test request-before-start and double-start independently.
- Explain the difference between an error handler that returns and one that continues.
- Record source, output, and the limitations of sandbox capability checks for review.
+15
View File
@@ -0,0 +1,15 @@
import agila
fn main() {
mut app := agila.new_app('dev.student.study', 'Study Buddy') or {
eprintln(err.msg())
return
}
app.start() or {
eprintln(err.msg())
return
}
app.request(.ui) or { eprintln(err.msg()) }
agila.log('Ready to study')
app.stop()
}