runic-compiler

In-design toy language
HEAD Latest release released
runic-lang/compiler
31 3
runic-lang

Runic language compiler

A toy project to build a compiler for an in-design toy language named RUNIC.

Despite being advertised as a toy language and toy project, the end goal is to have a stable, robust and fast programming language and compiler, that can't be considered a "toy" anymore.

Goals

  • General purpose compiled language (for libraries, executables, embedded, ...).
  • C-like language with good performance (but safer).
  • Ruby-like syntax that pleases the eye (but typed).
  • Minimal runtime (if any) to manipulate pointers and intrinsics.

A separate, cross-platform, and optional standard-library may come later, as a separated project.

Status

Basic lexer, parser and semantic analyzes are functional (thought limited to the available feature set). Preliminary code generation has been started.

Only integer and floating point numbers are supported. External symbols, function defintions and calling symbols/functions is also supported. Neither pointers or data structures are available.

Licences

The Runic compiler is released under the CeCILL-C license. The license agreement can be found in LICENSE.

runic-compiler:
  github: runic-lang/compiler
  
License CeCILL-C
Crystal 0.29.0

Authors

Libraries 1

  • LLVM: 8

Dependencies 1

  • clang >= 0.3.0
    {'github' => 'ysbaddaden/clang.cr', 'version' => '>= 0.3.0'}

Development Dependencies 1

  • minitest >= 0.4.3
    {'github' => 'ysbaddaden/minitest.cr', 'version' => '>= 0.4.3'}

Dependents 0

Other repos 1

Last synced .
search fire star recently