roc/examples
2021-10-19 09:33:16 -07:00
..
benchmarks make things compile, base64 has a memory leak 2021-10-06 22:57:11 +02:00
cli Just disable gc-sections with surgical linker for rust hosts for now 2021-09-25 12:19:56 -07:00
effect Merge branch 'trunk' into integrate-linker 2021-09-21 09:39:47 -07:00
false-interpreter Clean up extra print outs 2021-10-19 09:33:16 -07:00
fib Merge branch 'trunk' into integrate-linker 2021-09-23 21:12:40 -07:00
hello-rust Just disable gc-sections with surgical linker for rust hosts for now 2021-09-25 12:19:56 -07:00
hello-web handle small strings 2021-09-25 15:16:17 +02:00
hello-world Merge branch 'trunk' into integrate-linker 2021-09-23 21:12:40 -07:00
hello-zig Merge branch 'trunk' into integrate-linker 2021-09-23 21:12:40 -07:00
quicksort Merge branch 'trunk' into integrate-linker 2021-09-23 21:12:40 -07:00
.gitignore Create dummy lib as libapp.so 2021-09-15 15:16:39 -07:00
README.md Update docs to remove references to roc run 2021-08-05 23:15:00 -04:00

Examples

Took a look around in the examples folder, examples/benchmarks contains some larger examples.

Run examples as follows:

  1. Navigate to /examples
  2. Run with:
cargo run hello-world/Hello.roc

Some examples like examples/benchmarks/NQueens.roc require input after running. For NQueens, input 10 in the terminal and press enter.