mirror of
https://github.com/Nexoniarz/Finch.git
synced 2026-11-03 08:54:25 +00:00
Windows support (wip): target layer, Microsoft x64 ABI, portable runtime, CI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8497251dc5
commit
84cbbb3e16
18 changed files with 481 additions and 94 deletions
|
|
@ -1,9 +1,10 @@
|
|||
fn main() {
|
||||
path := "/tmp/finch_test_file.txt"
|
||||
path := "finch_test_file.txt"
|
||||
ok := write_file(path, "line one\nline two\n")
|
||||
print(ok, file_exists(path))
|
||||
text := read_file(path)
|
||||
lines := text.trim().split("\n")
|
||||
print(lines, lines.len)
|
||||
print(file_exists("/definitely/not/here"))
|
||||
print(delete_file(path), file_exists(path))
|
||||
print(file_exists("definitely/not/here"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue