diff --git a/content/_index.md b/content/_index.md index 47bbcc9..942c38c 100644 --- a/content/_index.md +++ b/content/_index.md @@ -3,7 +3,13 @@ title: Birth Software toc: false --- -This is the page for Birth Software +Birth Software aims to bear a new kind of software, which is reliable, fast and secure. + +The flagship project of Birth Software, which at the same time gives it its name, is a new operating system. This operating system started being written in Zig, but the shortcomings of the language and the compiler, despite being great to most of the existing ones out there, made the author try to write his own language and compiler. + +For that purpose, the current project being developed by Birth Software is Nativity, a systems programming language and a compiler, which aims to compile many lines per second, while still retaining output machine code quality with an (optional) LLVM backend. + +You can know more about the current projects being developed by clicking the links below. ## Explore diff --git a/content/nativity/_index.md b/content/nativity/_index.md index 7162ca6..ac0969c 100644 --- a/content/nativity/_index.md +++ b/content/nativity/_index.md @@ -7,10 +7,13 @@ Nativity is the language and compiler for Birth Software. ## Hello, World! +This is a valid hello world with libc linked + ```nat {filename="main.nat"} -const std = #import("std"); +module std; -const main = fn () *!void { +fn [cc(.c)] main [export] () s32 { std.print("Hello world\n"); + return 0; } ```