Logo
Explore Help
Register Sign In
tomoaki/hakorune
1
0
Fork 0
You've already forked hakorune
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b2af9fb297513e014d1a30a60f7d9eddbf8c5320
hakorune/tests/mir_snapshots/string_concat.mir

13 lines
221 B
Plaintext
Raw Normal View History

Implement Phase 1: MIR + VM backend with golden tests Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 05:59:10 +00:00
; MIR Module: main
mir: read plugin method signatures from nyash_box (#134) * mir: load plugin method signatures * llvm: read box type ids from nyash_box * mir: show value types in MIR printer
2025-09-11 03:33:33 +09:00
define i64 @main() {
Implement Phase 1: MIR + VM backend with golden tests Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 05:59:10 +00:00
bb0:
mir: read plugin method signatures from nyash_box (#134) * mir: load plugin method signatures * llvm: read box type ids from nyash_box * mir: show value types in MIR printer
2025-09-11 03:33:33 +09:00
0: %0: String = const "Hello"
1: %1: String = const "World"
2: %2: Integer = %0 Add %1
3: extern_call env.console.log(%2) [effects: pure|io]
Implement Phase 1: MIR + VM backend with golden tests Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 05:59:10 +00:00
4: ret %2
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 70ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API