Skip to content

haved/DafCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The daf compiler

A systems programming language for me to sink too much time into.

Project structure

  • Ideas/ - Language design is hard, ok?
  • Tools/ - Extra files for tooling
  • Old/ - Here there be dragons

Progress

Check out my Trello board here.

Building

Dependencies

  • Install opam
  • $ opam init && opam install oasis

Compiling

In the /Compiler folder:

oasis setup -setup-update dynamic
make

You should now have a symlink called dafc.native, which is a self contained binary

Cleaning up

After running oasis and make, you will have the following files in ./Compiler:

 - configure
 - Makefile
 - setup.ml
 - setup.data
 - setup.log
 - _build/
 - dafc.native

Remove them, and everything should be clean Remeber that dafc.native is a symlink to the actual binary in _build/

Testing

N/A

Installing

N/A