-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` | ||
|