10000 GitHub - ballercat/momo: Experimental C to WebAssembly compiler
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ballercat/momo

 
 

Repository files navigation

Description:

This is a fork of momo. Implementing a different sytnax, aiming to be much closer to javascript.

Syntax:

function fact(n: i32) : i32 {
  if (n == 0) {
    return 1;
  }
  return (n * fact(n - 1));
};
export function main(a: i32, b: i32) : i32 {
  return (fact(a + b));
};

About

Experimental C to WebAssembly compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.5%
  • HTML 6.7%
  • CSS 2.8%
0