Skip to content

Commit

Permalink
Merge pull request #1 from birth-software/brief-summary
Browse files Browse the repository at this point in the history
Give a brief summary of the project
  • Loading branch information
david4r4 authored May 23, 2024
2 parents 7746d86 + 80f6819 commit cc4ef35
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 7 additions & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 5 additions & 2 deletions content/nativity/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
```

0 comments on commit cc4ef35

Please sign in to comment.