Jayfor is a programming language written in C.
If you have an idea for the language, post an issue with the format of Proposal: proposal summary into the issues section of the repository, for example:
Proposal: add X to this language because Y
Proposal: add X to this language to replace Y
Please tag any proposals with the "proposal" label!
- Clang 3.5
- LLVM 3.5
Jayfor is a programming language in the early stages, so it's a lot easier to work on than say a more developed language like Rust. As we are a long way from hitting that stable 1.0, we have more time to experiment with the language, which means you can have a say in new syntax ideas, and so on.
Send a pull request to http://github.com/jayfor-lang/jayfor. Use http://github.com/jayfor-lang/jayfor/issues for discussion. Please note that we consider that you have granted non-exclusive right to your contributed code under the MIT License. Please conform to the programming rules and write short, but meaningful commit messages.
We have an IRC channel, this is mostly where we discuss development related issues, syntax styles, and so on. Interested in contributing, come over to our IRC channel:
server: irc.freenode.net
port: 8001
channel: ##jayfor
Since there aren't many of us, we're mostly active around 4pm GMT on weekdays.
Jayfor is a programming language written in C. It is still under heavy development. Jayfor is influenced from languages like Rust, C, C++, and Java. We like to keep things simple, safe and fast, but maintain a syntactically beautiful language. You can view the snippet of code below for a basic 'feel' of the language, or check out some actual code we use for the library here.
// this is no longer a test for while loops
// just some random code for testing
int a = (5 + 5);
int z = a;
int a;
char b = 'a';
fn add(int a, int b): int {
return (a + b);
}
fn test(int a, int b, str x): <int, float, str> {
for int whatever:(10, 0) {
add(a, b);
}
return <a, 3.2, "test">;
}
fn main(int a, int b): void {
test(5, 5, "rand");
}
Building is easy:
// note, you atleast need LLVM 3.5!
cd where_you_want_jayfor_to_be
git clone https://www.github.com/jayfor-lang/jayfor.git
cd jayfor
make
Then to run a j4 program:
./j4 tests/simple.j4
Check the REFERENCE.md file in misc/.
Jayfor is licensed under The MIT License. I have no idea what this means, I just randomly chose it. Read it here