Complete the build requirements and the example in the README.md file.

This commit is contained in:
Username404-59 2021-07-08 10:16:28 +02:00
parent cebfc6457d
commit 4b1dd01128
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 6 additions and 4 deletions

View File

@ -7,9 +7,9 @@ Aka Yer Bacon,
- #### A language that transpiles into lua, javascript or python code.
Here's how the basic "hello world" script will look like.
Here's how a "hello world" lambda will look like (`#=>` can be used as a shorthand for `#= ->`)
```
main #= [] -> {
main #=> {
println "Hello, World!"
}
```
@ -24,13 +24,15 @@ Variables assigned using #= can't be changed (they are "final"), while the ones
## Build requirements
CMake 3.18 or higher is needed.
### Linux target
- GCC 10+ or Clang 11+
- GCC 10+ or Clang 11+ with llvm-gold
### Windows target
- MinGW32
- The required packages for threading support (e.g: mingw-std-threads)
- The required packages for threading support (`gcc-mingw-w64-i686-posix-runtime` on debian)
MSVC could also be used instead if you are on Windows.