Username404-59 6c62ee9f1a | ||
---|---|---|
examples | ||
misc | ||
resources | ||
scripts | ||
src | ||
CMakeLists.txt | ||
Jenkinsfile | ||
LICENSE.txt | ||
README.md | ||
changelog |
README.md
Yerbacon
Aka Yer Bacon,-
A language that transpiles into lua, javascript or python code.
Here's how a "hello world" lambda will look like (#=>
can be used as a shorthand for #= ->
)
main #=> {
println "Hello, World!"
}
Planned features:
- Type inference
- Null safety
- Compilation to jvm bytecode?
Getting Started
Variables assigned using #= can't be changed (they are "final"), while the ones affected using the normal operator (=) can.
Build requirements
CMake 3.18 or higher is needed.
Linux target
- GCC 10+ or Clang 11+ with llvm-gold
Windows target
- MinGW32
- 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.