No Description

Zac Pierson 20b9f1ff59 Added `getenv` to the *nix stdlib. 8 years ago
bin 33bd3f635f Remove the need for clang 9 years ago
code 047c0e4bcc A decent union type with common fields and variants 8 years ago
core 20b9f1ff59 Added `getenv` to the *nix stdlib. 8 years ago
misc 3517f96668 Remove: string overloads; defer 8 years ago
src 561c583b3f Merge https://github.com/gingerBill/Odin 8 years ago
.gitignore eeeb90c441 MacOS is able to run Hello World! 8 years ago
LICENSE fb45287e9e Fix import/export rules for #import as . 8 years ago
README.md c50aabd916 Merging from gingerBill's master 8 years ago
build.bat b9ed546ce0 Record type field `names` 8 years ago
build.sh ebb10e5597 One of the warning flags was misspelled. Oops! 8 years ago
compile_time_execution_problems.md 3ce044f84f Add general timings for sections of the compiler 8 years ago
libs.txt 7430008fd7 Initial Commit 9 years ago
logo-slim.png 7792f009b8 Numpty forgot to add .c files 8 years ago
roadmap.md f567983260 Semicolons mandatory again (and probably forever now...) 8 years ago
run.bat 5da6b74567 Compile with odin.exe and no run.bat 9 years ago
todo.md 24ca106521 v0.0.3 Build 8 years ago

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
  • designed for good programmers

Demonstrations:

Requirements to build and run

  • Windows

    • x86-64
    • MSVC 2015 installed (C99 support)
    • LLVM installed
    • 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