Skip to content

Latest commit

 

History

History
59 lines (52 loc) · 1.14 KB

README.md

File metadata and controls

59 lines (52 loc) · 1.14 KB

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