Facilis - A Low Level Functional Language
CSharpIsGud (881)

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 We actually accept command line arguments, we just passed "out.cpp" as the output file, but yeah, we used a bit of Bash, we could've changed it to pure C++, but it's not easy to query the system and execute other code in a portable simple fashion. In a way we just took the easy way out, also, you can hand tune the output or check it for bugs yourself, since our implementation is still pretty buggy.