You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,11 @@ If you aim to contribute to the Zirco compiler itself, please follow the instruc
29
29
30
30
**New to Zirco?** Check out our comprehensive [Getting Started Guide](./docs/GETTING_STARTED.md) for step-by-step instructions on:
31
31
32
-
-Installing prerequisites
33
-
-Building the compiler
34
-
-Writing and compiling your first program
35
-
-Using compiler options and output formats
36
-
-Troubleshooting common issues
32
+
- Installing prerequisites
33
+
- Building the compiler
34
+
- Writing and compiling your first program
35
+
- Using compiler options and output formats
36
+
- Troubleshooting common issues
37
37
38
38
### Quick Start
39
39
@@ -67,7 +67,7 @@ For experienced developers who want to get running quickly:
67
67
4. **Compile your first program:**
68
68
```bash
69
69
# Create hello.zr with your favorite editor, then:
70
-
zrc --emit object -o hello.o hello.zr
70
+
zrc -o hello.o hello.zr
71
71
clang -o hello hello.o -lc
72
72
./hello
73
73
```
@@ -82,7 +82,7 @@ For a comprehensive guide to the Zirco language syntax, semantics, and behavior,
82
82
83
83
If you are directly invoking the compiler with `cargo`, replace `zrc` with `cargo run --`in the below commands.
84
84
85
-
You can compile a single Zirco file to a `.o` object with `zrc --emit object -o main.o main.zr`. Otherwise, `zrc main.zr` will emit LLVM IR. This is soon to change.
85
+
You can compile a single Zirco file to a `.o` object with `zrc -o main.o main.zr`. Otherwise, `zrc main.zr` will emit LLVM IR. This is soon to change.
0 commit comments