Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-is-coding authored Jul 29, 2024
1 parent 2067029 commit 65e49c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ _Please note that the syntax may change in the future._

Here is an example of a "Hello, world!" program in Hadron:

```c
```
fx main {
IO:out("Hello, world!")
}
```

And here is an example of a function that calculates the nth Fibonacci number:

```c
```
fx fib(i32 n) {
if n < 2 { return n; }
else { return fib(n-1) + fib(n-2); }
Expand Down

0 comments on commit 65e49c6

Please sign in to comment.