Skip to content
/ yrc Public

YRC is something like a Rust compiler in the making.

Notifications You must be signed in to change notification settings

0yoyoyo/yrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YRC

YRC is something like a Rust compiler in the making.

Build Status codecov

Usage

Options:
    -o, --output NAME   set output file name
    -s, --asm           output assemble code
    -h, --help          print this help message

Supported syntax

  • Types: i8, i16, i32, i64, u8, u16, u32, u64, array, bool, pointer, reference, slice, str
  • Controll syntax: if, else, while
  • Arithmetic operation
  • Local and global variable binding
  • Function difinition and call

Syntax not yet supported

  • Pattern match
  • Mutability
  • Type inference
  • Ownership
  • Structs
  • Tuples
  • Implementations
  • closure
  • Traits
  • Macros

and more...

About

YRC is something like a Rust compiler in the making.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published