surrealegg / yak Goto Github PK
View Code? Open in Web Editor NEW🦬 Yak - Work in progress Jakt compiler using LLVM as the backend.
License: Apache License 2.0
🦬 Yak - Work in progress Jakt compiler using LLVM as the backend.
License: Apache License 2.0
i8
u8
i16
u16
i32
u32
i64
u64
f32
f64
bool
c_int
c_char
usize
void
function
extern
let
mut
if
else
while
loop
return
not
and
or
true
false
raw
anon
as
{
}
[
]
(
)
+
-
*
/
=
==
!=
>
>=
<
<=
>>
<<
+=
-=
*=
/=
>>=
<<=
Todo list is currently in the works
extern function printf(anon format: raw c_char, anon number: i64) -> usize
function fibonacci(anon n: i64) -> i64 {
if n <= 1 {
return (n);
} else {
return (fibonacci(n - 1) + fibonacci(n - 2));
}
}
function main() {
printf("%d\n", fibonacci(12));
}
error: mismatched types. expected 'i64', but got 'void'
----- samples/fibonacci.jakt:3:0
2|
3| function fibonacci(anon n: i64) -> i64 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4| if n <= 1 {
-----
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.