Skip to content

eyelash/moebius

Repository files navigation

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

Releases

No releases published

Packages

No packages published