Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-M-Lucas committed Oct 19, 2024
1 parent f452593 commit dadf662
Show file tree
Hide file tree
Showing 84 changed files with 1,729 additions and 630 deletions.
165 changes: 127 additions & 38 deletions .idea/workspace.xml

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,19 @@

The `master` branch should now contain a semi-stable version whereas
the latest version can be found on `dev`. I also use `dev` to sync
my work so expect constant breaking changes on that branch.
my work so expect constant breaking changes on that branch.

This is designed to work on Linux using `nasm` and `gcc` requiring a library
with `free`, `malloc`, and `printf` to be present (should be by default,
all may not be required if not used in your code). This may work in WSL

## Usage

`cargo run` will compile and run `main.why`. By default this runs an example
using the `LinkedList` defined in `std/linked_list.why`.

Use `cargo run -- -i error.why` and `cargo run -- -i error2.why` to see
two examples of the rich error reporting in Whython

Use `cargo run -- [args]` to pass arguments to Whython
Use `cargo run -- -h` to get help
Loading

0 comments on commit dadf662

Please sign in to comment.