Browse Source

Add backend-state to README

github-actions
Garrit Franke 3 years ago
parent
commit
9cb607f2cf
  1. 5
      README.md

5
README.md

@ -7,10 +7,13 @@ Is is meant to "just work", without adding unnecessary and bloated language feat
Basic algorithms like the fibonacci sequence should compile fine. More sophisticated programs will not work yet. See [TODO](./TODO) for a roadmap. Basic algorithms like the fibonacci sequence should compile fine. More sophisticated programs will not work yet. See [TODO](./TODO) for a roadmap.
The Sabre compiler emits JavaScript, until the language has matured sufficiently. Backends for WASM, C, x86 and ARM are planned.
## Examples ## Examples
```rs ```rs
// examples/fib.sb // examples/fib.sb
main :: () { main :: () {
let num = 10 let num = 10
return fib(num) return fib(num)
@ -23,6 +26,8 @@ fib :: (n) {
return fib(n-1) + fib(n-2) return fib(n-1) + fib(n-2)
} }
// -> 55
``` ```
## License ## License

Loading…
Cancel
Save