暂无描述

Ginger Bill d7bd3f8402 Fix compilation issues on OSX 8 年之前
code 8987a6630c v0.6.0 8 年之前
core 0fff6a2b74 Fix i128 division 8 年之前
misc 8197c02dcf Default result values for procedure types; Named result values in `return` statements 8 年之前
src d7bd3f8402 Fix compilation issues on OSX 8 年之前
.gitignore 3a3202fbc6 Change code to match original MSVC 8 年之前
LICENSE 9a8759efef Polymorphic type specialization for procedures 8 年之前
README.md c949ca2a5c Allow for named arguments for polymorphic procedures 8 年之前
build.bat 294092979e Update build.bat 8 年之前
build.sh 53075e2570 Update old demos 8 年之前

README.md

Odin logo

The Odin Programming Language

The Odin programming language is fast, concise, readable, pragmatic and open sourced. It is designed with the intent of replacing C with the following goals:

  • simplicity
  • high performance
  • built for modern systems
  • joy of programming
  • metaprogramming

Website: https://odin.handmade.network/

Demonstrations:

Requirements to build and run

  • Windows

    • x86-64
    • MSVC 2015 installed (C++11 support)
    • LLVM binaries for opt.exe and llc.exe
    • Requires MSVC's link.exe as the linker
      • run vcvarsall.bat to setup the path
  • MacOS

    • x86-64
    • LLVM explicitly installed (brew install llvm)
    • XCode installed (for the linker)
  • GNU/Linux

    • x86-64
    • Build tools (ld)
    • LLVM installed
    • Clang installed (temporary - this is Calling the linker for now)

Warnings

  • This is still highly in development and the language's design is quite volatile.
  • Syntax is not fixed.

Roadmap

Not in any particular order and not be implemented

  • Compile Time Execution (CTE)
    • More metaprogramming madness
    • Compiler as a library
    • AST inspection and modification
  • CTE-based build system
  • Replace LLVM backend with my own custom backend
  • Improve SSA design to accommodate for lowering to a "bytecode"
  • SSA optimizations
  • Documentation Generator for "Entities"
  • Multiple Architecture support
  • Debug Information
    • pdb format too
  • Command Line Tooling
  • Compiler Internals:
    • Big numbers library
    • Multithreading for performance increase