eyelash / moebius

a simple and fast functional programming language

Home Page:https://eyelash.github.io/moebius

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moebius

a simple and fast functional programming language

Selling Points

  • simplicity
  • performance
  • safety
  • a fast compiler

Instructions

# clone the repo
git clone https://github.com/eyelash/moebius
# compile the compiler
cmake .
make
# compile some moebius code
./moebc examples/HelloWorld.moeb
# run the compiled code
examples/HelloWorld.moeb.exe

Roadmap

  • codegen
    • x86
    • C
    • JavaScript
  • optimizations
    • monomorphization
    • dead code elimination
    • inlining
    • constant propagation
    • tail call optimization
    • common subexpression elimination
    • register allocation
  • types
    • integers
    • floating-point numbers
    • closures
    • structs (product types)
    • enums (sum types)
    • arrays
    • strings
    • interfaces
    • recursive types
    • first-class types
  • operators
    • arithmetic (+, -, *, /, and %)
    • relational (==, !=, <, <=, >, and >=)
    • logical (&&, ||, and !)
  • compile-time garbage collection
  • compile-time reflection
  • testing
  • monadic IO
  • async/await

About

a simple and fast functional programming language

https://eyelash.github.io/moebius

License:MIT License


Languages

Language:C++ 99.9%Language:CMake 0.1%