Facilis - A Low Level Functional Language
CSharpIsGud (867)

Facilis is a strongly typed functional language that aims to be low level. Facilis uses a hand-written recursive descent parser made with love.

Factorial Example

impure foreign putchar(c of u8) -> void
impure foreign tostr(num of void*) -> string

impure write(str of string, start of i32) -> void {

	if start != str.length() {
		write(str, start + 1)

pure fact(i of i32) -> i32 {
	if i == 1 {
		return i

	return i * fact(i - 1)

impure main() -> i32 {
    write(tostr(fact(6)), 0)

Demo: https://repl.it/@Facilislang/FacilisDemo#README.md
^ Has a user/password login program loaded by default. Read the README!

Source: https://repl.it/@Facilislang/Facilis
^ 2072 lines of C++!

@CSharpIsGud @Subarashi @xxpertHacker

You are viewing a single comment. View All
xxpertHacker (768)

@DynamicSquid It's not an actual compiler, it's merely a transpiler, but if we win and are asked to update it for the next 3 months, we might end up using LLVM, or just fixing all of the bugs and making it more real.

It could very well become its own language independent from C/C++, once we create a proper module system, a foreign function interface (FFI), scope checking, types, type checking, new operations, etc.

But for the time being, it's actually just a transpiler.