We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7655faf commit c2e4cc3Copy full SHA for c2e4cc3
README.md
@@ -16,6 +16,8 @@ NexLang is a custom systems programming language focused on providing strong con
16
17
#### Example Print Implementation
18
```rs
19
+mod print;
20
+
21
fn printchar(letter: char) {
22
let print_addr: *char = (0 - 65524) as (*char);
23
(*print_addr) = letter;
@@ -40,6 +42,8 @@ fn main(x: i32, y: i32) -> i32 {
40
42
```
41
43
#### Example Power Implementation
44
45
+mod main;
46
47
fn power(base: i32, exponent: i32) -> i32 {
48
if (exponent == 1) {
49
return base;
0 commit comments