Skip to content

Icarus131/Yocto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yocto

A custom programming language compiler built with OCaml.

Build & Run

# Build
ocamlbuild -use-ocamlfind -pkgs menhir,yojson main.byte

# Run
./main.byte <path to input file>

Dependencies

  • OCaml
  • Menhir

Simple program using custom lang


fn main() {
    a = 10;
    write(12);
    return 0;
}

fn vars(){
    result = 20;
    write(result);
    return 0;
  }

About

A yocto compiler written in OCaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages