efd209779c
Finishes the project-wide English convention: - CLAUDE.md (the user opted in to translate it too). - examples/hello.ail.json: "Hallo, AILang." -> "Hello, AILang.". - E2E test assertion and IR snapshot for hello regenerated to match. - DESIGN.md "Project language: English" section: the previous CLAUDE.md exception is dropped. After this commit, no German remains in any committed file (grep -P '[äöüÄÖÜß]' is empty across .rs / .md / .json / .ll). Verified: cargo test --workspace passes (44/44). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
22 lines
430 B
LLVM
22 lines
430 B
LLVM
; AILang generated workspace; entry: hello
|
|
source_filename = "hello.ail"
|
|
target triple = "<NORMALIZED>"
|
|
|
|
@.str_hello_str_0 = private unnamed_addr constant [15 x i8] c"Hello, AILang.\00", align 1
|
|
|
|
declare i32 @printf(ptr, ...)
|
|
declare i32 @puts(ptr)
|
|
declare ptr @malloc(i64)
|
|
|
|
define i8 @ail_hello_main() {
|
|
entry:
|
|
call i32 @puts(ptr @.str_hello_str_0)
|
|
ret i8 0
|
|
}
|
|
|
|
|
|
define i32 @main() {
|
|
call i8 @ail_hello_main()
|
|
ret i32 0
|
|
}
|