Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nyzd committed Jan 17, 2024
1 parent 1fb34ad commit ae5dafd
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# fig
Fig lang source code, containing the compiler, CLI, web, and examples
# Fig
Fig-lang source code, containing the compiler, CLI, web, and examples

# Stage
FigLang is currently in the early stages of development. You can test the Early development version on [Playground](https://fig-lang.github.io/fig/).
Fig-lang is currently in the early stages of development. You can test the Early development version on [Playground](https://fig-lang.github.io/fig/).

# Try Fig-lang local
First compile the FigCli with `cargo build --release`

then create a file `example.fig`:

```
external fig {
fn print(str: string);
}
export fn main() {
print("Hello World");
}
```

then run `./target/release/fig run ./example.fig`

0 comments on commit ae5dafd

Please sign in to comment.